From 2194eb2756ee57e0b43bd0acdda6f7eb9aea3818 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 29 Sep 2014 17:01:23 +0200 Subject: reproducible: cleanup properly --- bin/reproducible_build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index da6e4fa8..39b3da85 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -109,7 +109,6 @@ for SRCPACKAGE in $PACKAGES ; do continue fi sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_*.dsc | tee ${SRCPACKAGE}_${VERSION}.pbuilder.log - RESULT=$? if [ -f /var/cache/pbuilder/result/${SRCPACKAGE}_${VERSION}_amd64.changes ] ; then mkdir b1 b2 dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_${VERSION}_amd64.changes b1 @@ -146,11 +145,8 @@ for SRCPACKAGE in $PACKAGES ; do else sqlite3 -init $INIT $PACKAGES_DB "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"FTBFS\", \"$DATE\", \"\")" mv ${SRCPACKAGE}_${VERSION}.pbuilder.log /var/lib/jenkins/userContent/pbuilder/ - + dcmd rm ${SRCPACKAGE}_${VERSION}.dsc fi - dcmd rm ${SRCPACKAGE}_${VERSION}.dsc - sudo rm -fv /var/cache/pbuilder/result/${SRCPACKAGE}_* 2>/dev/null - fi set +x -- cgit v1.2.3-70-g09d2