From 633a9409ae245b06ad5ae6a9b68853879cad03dc Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 18 Jan 2018 15:21:01 +0100 Subject: put name of creating script into name of temporary directories --- bin/show-dependencies | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/show-dependencies') 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" | \ -- cgit v1.2.3-70-g09d2