[Reproducible-commits] [misc] 01/01: prebuilder: Remove original log once compressed

Jérémy Bobbio lunar at moszumanska.debian.org
Mon May 4 11:30:38 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 6510b1b5ec5a2be70488734467a7b13226679046
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Mon May 4 11:27:36 2015 +0000

    prebuilder: Remove original log once compressed
---
 prebuilder/rebuild.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/prebuilder/rebuild.sh b/prebuilder/rebuild.sh
index e8f5290..1cf92d5 100755
--- a/prebuilder/rebuild.sh
+++ b/prebuilder/rebuild.sh
@@ -33,6 +33,7 @@ sudo \
  LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" \
  unshare --uts -- $BUILDER --build $BUILDER_OPTS --debbuildopts '-b' --buildresult b1 --logfile logs/${PACKAGE}.build1 ${PACKAGE}_*.dsc
 xz < logs/${PACKAGE}.build1 > logs/${PACKAGE}.build1.xz
+rm -f logs/${PACKAGE}.build1
 
 # Let's make a tarball of the build result. This allows us
 # to give it to the second run of pbuilder. The configured
@@ -52,6 +53,7 @@ sudo \
  LC_ALL="fr_CH.UTF-8" \
  linux64 --uname-2.6 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
+rm -f logs/${PACKAGE}.build2
 
 if [ -f b2/debbindiff.html ]; then
 	mv b2/debbindiff.html logs/${PACKAGE}.debbindiff.html

-- 
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