summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_freebsd.sh
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-02-23 12:09:12 -0500
committerHolger Levsen <holger@layer-acht.org>2017-02-27 20:21:39 +0100
commit1ec389d05cbe846c656ec2065bb3a85574146abc (patch)
tree3fb201be9cc832923d9bed811cf45ba83afaedad /bin/reproducible_freebsd.sh
parentd485cedec0664af4bf61076100717875a8ed4754 (diff)
downloadjenkins.debian.net-1ec389d05cbe846c656ec2065bb3a85574146abc.tar.xz
reproducible FreeBSD: remove unused Xs from mktemp invocation
FreeBSD's mktemp does not use Xs as placeholders for the random string when using the -t <template> arg. Instead it appends a period and the characters. For example: % mktemp -d -t prefix /tmp/prefix.pffo8Fiv Signed-off-by: Ed Maste <emaste@freebsd.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
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 5aa27d5f..994887c7 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -99,7 +99,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 -t rbuild-freebsd-XXXXXXXX') # used to compare results
+ TMPDIR=$($RSSH 'TMPDIR=/srv/reproducible-results mktemp -d -t rbuild-freebsd') # used to compare results
DATE=$(date -u +'%Y-%m-%d')
START=$(date +'%s')
trap cleanup_tmpdirs INT TERM EXIT