summaryrefslogtreecommitdiff
path: root/bin/why-dont-you
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/why-dont-you
parent5fb9f8ad7843e087c974cc1af291b4f494824462 (diff)
downloadbuilder-633a9409ae245b06ad5ae6a9b68853879cad03dc.tar.xz
put name of creating script into name of temporary directories
Diffstat (limited to 'bin/why-dont-you')
-rwxr-xr-xbin/why-dont-you2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/why-dont-you b/bin/why-dont-you
index c6a6138..2e3ea86 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -10,7 +10,7 @@
action="$1"
shift
-tmp_dir=$(mktemp -d)
+tmp_dir=$(mktemp -d 'tmp.why-dont-you.XXXXXXXXXX' --tmpdir)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
case "${action}" in