summaryrefslogtreecommitdiffstats
path: root/bin/live-build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-16 14:39:59 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-16 14:39:59 +0100
commitd2478fbb8818ac2f4bc09e77ad5353f322e3607b (patch)
tree1e477308acd13527ddd982a15849e5820632448c /bin/live-build.sh
parent97c2469c69f3533aef3160b27c796713c69d2f2e (diff)
downloadjenkins.debian.net-d2478fbb8818ac2f4bc09e77ad5353f322e3607b.tar.xz
always use mktemp with '-t -XXXX'
Diffstat (limited to 'bin/live-build.sh')
-rwxr-xr-xbin/live-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/live-build.sh b/bin/live-build.sh
index 3082db69..116f17aa 100755
--- a/bin/live-build.sh
+++ b/bin/live-build.sh
@@ -11,7 +11,7 @@ cleanup_all() {
sudo rm -rf --one-file-system $TMPDIR
}
-TMPDIR=$(mktemp --tmpdir=/srv/live-build -d)
+TMPDIR=$(mktemp --tmpdir=/srv/live-build -d -t live-build-XXXXXXXX)
cd $TMPDIR
trap cleanup_all INT TERM EXIT