summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-10-15 00:57:25 +0200
committerHolger Levsen <holger@layer-acht.org>2013-10-15 00:57:25 +0200
commitfb1dbc38c6b270e3405221ed216cd6d321f0420d (patch)
tree995cbfd1fc900a09b61c9b433cd25ce2a2a58887
parent2823d1b64638bff35551b8e8c9008f9cfd3ce624 (diff)
downloadjenkins.debian.net-fb1dbc38c6b270e3405221ed216cd6d321f0420d.tar.xz
debug correctly
-rwxr-xr-xbin/d-i_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 554ca2af..84debbe2 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -47,12 +47,12 @@ pdebuild_package() {
# prepare build
#
if [ ! -f /var/cache/pbuilder/base.tgz ] ; then
+ sudo pbuilder --create
+ else
# FIXME: begin debug code
ls -la /var/cache/pbuilder/base.tgz
file /var/cache/pbuilder/base.tgz
# FIXME: end debug code
- sudo pbuilder --create
- else
sudo pbuilder --update || ( sudo rm /var/cache/pbuilder/base.tgz ; sudo pbuilder --create )
fi
#