From 872a41ba79c358bc12fba8a7dff91320c4ebf43f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 21 Nov 2017 22:50:43 +0000 Subject: fixup 026431ca8: reproducible Arch Linux: only call diffoscope if artifacts are different Signed-off-by: Holger Levsen --- bin/reproducible_build_archlinux_pkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 "

$SRCPACKAGE/$ARTIFACT build reproducible in our test framework:
" > $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html (cd $TMPDIR/b1/ ; sha256sum $SRCPACKAGE/$ARTIFACT >> $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html ) echo "

" > $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)" -- cgit v1.2.3-70-g09d2