[Reproducible-commits] [misc] 06/07: prebuilder: fix location of debbindiff.html

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Mar 19 16:30:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository misc.

commit 3a6c892e9160cfa2ee5fb6885b51e0953f050636
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Mar 19 17:01:23 2015 +0100

    prebuilder: fix location of debbindiff.html
---
 prebuilder/rebuild.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/prebuilder/rebuild.sh b/prebuilder/rebuild.sh
index cac0e1d..707b7e3 100755
--- a/prebuilder/rebuild.sh
+++ b/prebuilder/rebuild.sh
@@ -44,7 +44,6 @@ TMPTAR="$TMPDIR/initial_build.tar"
 sudo DEB_BUILD_OPTIONS="nocheck" TZ="/usr/share/zoneinfo/Etc/GMT-14" LANG="fr_CH.UTF-8" LC_ALL="fr_CH.UTF-8" unshare --uts -- $BUILDER --build $BUILDER_OPTS --configfile "$SCRIPT_DIR/pbuilderrc.rebuild" --debbuildopts '-b' --buildresult b2 --logfile logs/${PACKAGE}.build2 --hookdir "$SCRIPT_DIR/pbuilderhooks" --inputfile "$TMPTAR" ${PACKAGE}_*.dsc
 xz < logs/${PACKAGE}.build2 > logs/${PACKAGE}.build2.xz
 
-if [ -f /var/cache/pbuilder/result/debbindiff.html ]; then
-	cp /var/cache/pbuilder/result/debbindiff.html logs/${PACKAGE}.debbindiff.html
-	sudo rm /var/cache/pbuilder/result/debbindiff.html
+if [ -f b2/debbindiff.html ]; then
+	mv b2/debbindiff.html logs/${PACKAGE}.debbindiff.html
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list