summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-11-21 22:50:43 +0000
committerHolger Levsen <holger@layer-acht.org>2017-11-21 22:50:43 +0000
commit872a41ba79c358bc12fba8a7dff91320c4ebf43f (patch)
tree5f13a8ebc043df4e40ef8ad66215078d0e855454 /bin
parent2b6945c2937dc6d05bb0098cf27dcaefdad86082 (diff)
downloadjenkins.debian.net-872a41ba79c358bc12fba8a7dff91320c4ebf43f.tar.xz
fixup 026431ca8: reproducible Arch Linux: only call diffoscope if artifacts are different
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 0d27efd4..6635d1c8 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -348,7 +348,7 @@ if [ ! -z "$(ls $TMPDIR/b1/$SRCPACKAGE/*.pkg.tar.xz 2>/dev/null|| true)" ] ; the
echo "<html><body><p>$SRCPACKAGE/$ARTIFACT build reproducible in our test framework:<br />" > $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html
(cd $TMPDIR/b1/ ; sha256sum $SRCPACKAGE/$ARTIFACT >> $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html )
echo "</p></body>" > $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html
- else
+ elif [ -f $TMPDIR/b1/$SRCPACKAGE/$ARTIFACT ] && [ -f $TMPDIR/b2/$SRCPACKAGE/$ARTIFACT ] ; then
# run diffoscope on the results
TIMEOUT="30m"
DIFFOSCOPE="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1)"