Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-13 11:42:46 +0100
committerErich Eckner <git@eckner.net>2018-03-13 11:42:46 +0100
commit142f167138609950fb9cf1a282ad8f970a62c99a (patch)
tree1ffb7e825e06213c554e0b2f272883ad0c564eec
parent470615922a8f76eca77b87902a02498a223c51bf (diff)
bin/build-packages: 4262105 tries to remove the wrong directories
-rwxr-xr-xbin/build-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 1bc1206..1ac8dc3 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -260,7 +260,7 @@ while [ "${count}" -ne 0 ]; do
recursively_umount_and_rm "${tmp_dir}"
exit "${err}"
}
- find . \
+ find "${work_dir}" \
-mindepth 1 \
-maxdepth 1 \
-name 'tmp.build-packages.??????' \