summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_repository_comparison.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-12 21:31:12 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-14 21:55:26 +0200
commit7fc7fb0c59266664b8c700e21859a7fbcc3d5052 (patch)
treea18c9e48228f06f39c2679208f88008cd5c8a502 /bin/reproducible_html_repository_comparison.sh
parented7f36ad6ac69972414ff11eea911a22a25d26f1 (diff)
downloadjenkins.debian.net-7fc7fb0c59266664b8c700e21859a7fbcc3d5052.tar.xz
reproducible: define $TEMPDIR as /tmp/reproducible and teach all the to create temporary files under TEMPDIR (except for builders, they have their own TMPDIR), to avoid polluting /tmp
Diffstat (limited to 'bin/reproducible_html_repository_comparison.sh')
-rwxr-xr-xbin/reproducible_html_repository_comparison.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index 4b2675cf..fe2ab234 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -15,8 +15,8 @@ ARCH="amd64" # same
VIEW=repositories
PAGE=index_${VIEW}.html
-TMPFILE=$(mktemp)
-TMP2FILE=$(mktemp)
+TMPFILE=$(mktemp --tmpdir=$TEMPDIR repo-comp-XXXXXXXXX)
+TMP2FILE=$(mktemp --tmpdir=$TEMPDIR repo-comp-XXXXXXXXX)
MODIFIED_IN_SID=0
MODIFIED_IN_EXP=0