diff options
author | Erich Eckner <git@eckner.net> | 2018-01-18 15:21:01 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-18 15:21:01 +0100 |
commit | 633a9409ae245b06ad5ae6a9b68853879cad03dc (patch) | |
tree | c82de15d771c0441e0bca97c715449125590d6f5 /bin/show-dependencies | |
parent | 5fb9f8ad7843e087c974cc1af291b4f494824462 (diff) | |
download | builder-633a9409ae245b06ad5ae6a9b68853879cad03dc.tar.xz |
put name of creating script into name of temporary directories
Diffstat (limited to 'bin/show-dependencies')
-rwxr-xr-x | bin/show-dependencies | 4 |
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" | \ |