summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-11-12 00:18:34 +0100
committerMattia Rizzolo <mattia@debian.org>2017-11-12 00:23:47 +0100
commit66477df8643ac671c6bc27f52afbe34550758c46 (patch)
tree7cfbd2f26b63f50f0236b90254df07aab73ef64f
parent16e103a25bf4ae74a004a6072253db99668a9db8 (diff)
downloadjenkins.debian.net-66477df8643ac671c6bc27f52afbe34550758c46.tar.xz
reproducible_lede: set TMPDIR=RESULTSDIR to allow call_diffoscope to work
Sadly call_diffoscope requires TMPDIR to be defined and used as base for all results. When replaced TMPDIR with RESULTSDIR this requirement was overseen. Signed-off-by: Mattia Rizzolo <mattia@debian.org>
-rwxr-xr-xbin/reproducible_lede.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 4111b06f..d1a1ef2a 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -105,6 +105,9 @@ SIZE=""
cd $RESULTSDIR/b1/targets
tree .
+# call_diffoscope requires TMPDIR
+TMPDIR=$RESULTSDIR
+
# iterate over all images (merge b1 and b2 images into one list)
# call diffoscope on the images
for target in * ; do