From c58c8eac433573859a2f2eb5a08856d7e011ec97 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 20 Sep 2015 10:01:30 +0200 Subject: reproducible: try to fix "DIFFOSCOPE=E: Failed to change to directory /tmp: Permission denied" --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2