Skip to content

Commit

Permalink
Remove the .svn and .git directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed May 7, 2023
1 parent 02b9511 commit 98d6003
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# Related file storage path
current_path="${PWD}"
armbian_outputpath="${current_path}/build/output/images"
armbian_rebuild_file="${armbian_outputpath}/*.img"
armbian_rebuild_file="${armbian_outputpath}/*-trunk*.img"
build_path="${current_path}/build-armbian"
kernel_path="${build_path}/kernel"
uboot_path="${build_path}/u-boot"
Expand Down Expand Up @@ -741,6 +741,9 @@ copy_files() {

# Copy the overload files
[[ "${PLATFORM}" == "amlogic" ]] && cp -rf ${uboot_path}/${PLATFORM}/overload/* ${tag_bootfs}

# Remove the .svn and .git directories
rm -rf $(find ${tmp_build} -type d -name '.svn' -o -name '.git')
}

replace_kernel() {
Expand Down

0 comments on commit 98d6003

Please sign in to comment.