[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: try to fix "DIFFOSCOPE=E: Failed to change to directory /tmp: Permission denied"
Holger Levsen
holger at moszumanska.debian.org
Sun Sep 20 08:01:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit c58c8eac433573859a2f2eb5a08856d7e011ec97
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Sep 20 10:01:30 2015 +0200
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 554e72d..1766e30 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list