summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_freebsd.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/reproducible_freebsd.sh
parent97c2469c69f3533aef3160b27c796713c69d2f2e (diff)
downloadjenkins.debian.net-d2478fbb8818ac2f4bc09e77ad5353f322e3607b.tar.xz
always use mktemp with '-t -XXXX'
Diffstat (limited to 'bin/reproducible_freebsd.sh')
-rwxr-xr-xbin/reproducible_freebsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index 70524d04..a66504d8 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -96,7 +96,7 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
RSCP="scp -r freebsd-jenkins.debian.net"
TMPBUILDDIR=/usr/src
$RSSH 'sudo rm -rf /usr/src ; sudo mkdir /usr/src ; sudo chown jenkins /usr/src' ### this is tmpfs on linux, we should move this to tmpfs on FreeBSD too
- TMPDIR=$($RSSH 'TMPDIR=/srv/reproducible-results mktemp -d') # used to compare results
+ TMPDIR=$($RSSH 'TMPDIR=/srv/reproducible-results mktemp -d -t rbuild-freebsd-XXXXXXXX') # used to compare results
DATE=$(date -u +'%Y-%m-%d')
START=$(date +'%s')
trap cleanup_tmpdirs INT TERM EXIT