From 48631732cc524d285cc47b0454513de8c2f31d21 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 5 Oct 2014 14:39:21 +0200 Subject: reproducible: fix logic --- 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 67a5b491..c3fc6353 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -166,7 +166,7 @@ for SRCPACKAGE in ${PACKAGES} ; do LOGFILE=$(echo ${LOGFILE%.dsc}.debbindiff.html) BUILDINFO=${SRCPACKAGE}_${EVERSION}_amd64.buildinfo /var/lib/jenkins/debbindiff.git/debbindiff.py --html ./${LOGFILE} b1/${SRCPACKAGE}_${EVERSION}_amd64.changes b2/${SRCPACKAGE}_${EVERSION}_amd64.changes || true - if [ ! -f ./${LOGFILE} ] && [ ! -f b1/${BUILDINFO} ] ; then + if [ ! -f ./${LOGFILE} ] && [ -f b1/${BUILDINFO} ] ; then cleanup_userContent cp b1/${BUILDINFO} /var/lib/jenkins/userContent/buildinfo/ figlet ${SRCPACKAGE} -- cgit v1.2.3-70-g09d2