Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/show-dependencies
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-18 15:21:01 +0100
committerErich Eckner <git@eckner.net>2018-01-18 15:21:01 +0100
commit633a9409ae245b06ad5ae6a9b68853879cad03dc (patch)
treec82de15d771c0441e0bca97c715449125590d6f5 /bin/show-dependencies
parent5fb9f8ad7843e087c974cc1af291b4f494824462 (diff)
put name of creating script into name of temporary directories
Diffstat (limited to 'bin/show-dependencies')
-rwxr-xr-xbin/show-dependencies4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/show-dependencies b/bin/show-dependencies
index 9593593..efdf745 100755
--- a/bin/show-dependencies
+++ b/bin/show-dependencies
@@ -13,7 +13,7 @@ if [ $# -eq 0 ]; then
)
new_sum='x'
sum=''
- tmp_dir=$(mktemp -d)
+ tmp_dir=$(mktemp -d 'tmp.show-dependencies.0.XXXXXXXXXX' --tmpdir)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
find "${work_dir}/package-infos" -maxdepth 1 -name '*.builds' -exec \
grep -HF '' {} \; | \
@@ -116,7 +116,7 @@ if ! flock -s -n 8; then
exit
fi
-tmp_dir=$(mktemp -d)
+tmp_dir=$(mktemp -d 'tmp.show-dependencies.1.XXXXXXXXXX' --tmpdir)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
sort -u "${work_dir}/build-order" | \