summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-20 10:01:30 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-20 10:01:30 +0200
commitc58c8eac433573859a2f2eb5a08856d7e011ec97 (patch)
tree59121753054ea8cd82e09041353af7f4719e16a4 /bin
parentc8fe7d5a78f2ac6b140c519ade2fa78a4a2052c9 (diff)
downloadjenkins.debian.net-c58c8eac433573859a2f2eb5a08856d7e011ec97.tar.xz
reproducible: try to fix "DIFFOSCOPE=E: Failed to change to directory /tmp: Permission denied"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 554e72df..1766e303 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -308,7 +308,7 @@ call_diffoscope_on_changes_files() {
fi
# TEMP is recognized by python's tempfile module to create temp stuff inside
local TEMP=$(mktemp --tmpdir=$TMPDIR -d dbd-tmp-XXXXXXX)
- DIFFOSCOPE="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1)"
+ DIFFOSCOPE="$(schroot --directory $TMPDIR -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1)"
echo "$(date -u) - $DIFFOSCOPE will be used to compare the two builds:" | tee -a ${RBUILDLOG}
set +e
set -x