From 033d1037f098dcfc31bdf6042368b936bd67829e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 1 Jun 2015 19:18:02 +0200 Subject: reproducible: fixup 53b6a71a47 --- bin/reproducible_build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 014a8af2..88064b62 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -266,9 +266,10 @@ check_buildinfo() { grep-dctrl -s Build-Environment -n ${SRCPACKAGE} ./b1/$BUILDINFO > $TMPFILE1 grep-dctrl -s Build-Environment -n ${SRCPACKAGE} ./b2/$BUILDINFO > $TMPFILE2 set +e - RESULT=$(diff $TMPFILE1 $TMPFILE2) - rm $TMPFILE1 $TMPFILE2 + diff $TMPFILE1 $TMPFILE2 + RESULT=$? set -e + rm $TMPFILE1 $TMPFILE2 if [ $RESULT -eq 1 ] ; then irc_message "$BUILDINFO varies, probably due to mirror update. Please investigate ${BUILD_URL} and make reproducible_build.sh deal properly with this." fi -- cgit v1.2.3-54-g00ecf