summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_netbsd.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_netbsd.sh
parent97c2469c69f3533aef3160b27c796713c69d2f2e (diff)
downloadjenkins.debian.net-d2478fbb8818ac2f4bc09e77ad5353f322e3607b.tar.xz
always use mktemp with '-t -XXXX'
Diffstat (limited to 'bin/reproducible_netbsd.sh')
-rwxr-xr-xbin/reproducible_netbsd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index 4b5da468..939fea36 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -36,8 +36,8 @@ save_netbsd_results() {
#
# main
#
-TMPBUILDDIR=$(mktemp --tmpdir=/srv/workspace/chroots/ -d -t netbsd-XXXXXXXX) # used to build on tmpfs
-TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d) # accessable in schroots, used to compare results
+TMPBUILDDIR=$(mktemp --tmpdir=/srv/workspace/chroots/ -d -t rbuild-netbsd-build-XXXXXXXX) # used to build on tmpfs
+TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-netbsd-results-XXXXXXXX) # accessable in schroots, used to compare results
DATE=$(date -u +'%Y-%m-%d')
START=$(date +'%s')
trap cleanup_tmpdirs INT TERM EXIT