diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-16 14:39:59 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-16 14:39:59 +0100 |
commit | d2478fbb8818ac2f4bc09e77ad5353f322e3607b (patch) | |
tree | 1e477308acd13527ddd982a15849e5820632448c /bin/live-build.sh | |
parent | 97c2469c69f3533aef3160b27c796713c69d2f2e (diff) | |
download | jenkins.debian.net-d2478fbb8818ac2f4bc09e77ad5353f322e3607b.tar.xz |
always use mktemp with '-t -XXXX'
Diffstat (limited to 'bin/live-build.sh')
-rwxr-xr-x | bin/live-build.sh | 2 |
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 |