[Reproducible-builds] [misc] 02/06: No need to proceed if downloading fails
Stéphane Glondu
glondu at moszumanska.debian.org
Sat Feb 22 19:10:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository misc.
commit 42dc69019dcaaac1f0ce3a7dab7682408dada08f
Author: Stephane Glondu <steph at glondu.net>
Date: Sat Feb 22 18:03:51 2014 +0100
No need to proceed if downloading fails
---
rebuild-twice-in-same-path/pbuilder-execute | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rebuild-twice-in-same-path/pbuilder-execute b/rebuild-twice-in-same-path/pbuilder-execute
index b4b499d..c7106bc 100755
--- a/rebuild-twice-in-same-path/pbuilder-execute
+++ b/rebuild-twice-in-same-path/pbuilder-execute
@@ -25,10 +25,10 @@ mkdir $result/$pkg || exit 3
echo "Installing build-dependencies of $pkg..."
-apt-get build-dep -y $pkg > $result/$pkg/build-dep 2>&1
+apt-get build-dep -y $pkg > $result/$pkg/build-dep 2>&1 || exit 5
aptitude search --disable-columns -F '%p %V' '~i' > $result/$pkg/installed-packages
-su -c "mkdir -p /tmp/src/a && cd /tmp/src/a && apt-get source $pkg | cat && cd .. && cp -a a b" pbuilder
+su -c "mkdir -p /tmp/src/a && cd /tmp/src/a && apt-get source $pkg | cat && cd .. && cp -a a b" pbuilder || exit 5
# Find the base name of build dir
for u in /tmp/src/a/*; do
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-builds
mailing list