aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2002-02-19 18:59:20 +0000
committerdancer <dancer>2002-02-19 18:59:20 +0000
commit09ebd2c9e696d73685f80897ccc74f388a1b8059 (patch)
tree49133fea0aeb9aabb4ff9191430a2c65f1ff2e10 /pbuilder-buildpackage
parent9ad849ea65147f918606c2a7c23a9ced9834c725 (diff)
downloadpbuilder-09ebd2c9e696d73685f80897ccc74f388a1b8059.tar
pbuilder-09ebd2c9e696d73685f80897ccc74f388a1b8059.tar.gz
adding debug flag
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index f3609a0..05c68a7 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -18,7 +18,7 @@
export LANG=C
export LC_ALL=C
-set -e
+set -ex
function copydsc () {
local DSCFILE="$1"
@@ -243,13 +243,13 @@ echo " -> Building the package"
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
if [ -z "$DEBEMAIL" ]; then
- if ! $CHROOTEXEC /bin/bash -c "cd tmp/buildd/*/; echo debug ; pwd; $SUTOUSER dpkg-buildpackage -us -uc $DEBBUILDOPTS"; then
+ if ! $CHROOTEXEC /bin/bash -c "cd tmp/buildd/*/; $SUTOUSER dpkg-buildpackage -us -uc $DEBBUILDOPTS"; then
echo "pbuilder: Failed autobuilding of package" >&2
umountproc_cleanbuildplace
exit 1;
fi
else
- if ! $CHROOTEXEC /bin/bash -c "cd tmp/buildd/*/; echo debug ;pwd ; $SUTOUSER dpkg-buildpackage -us -uc \"-m$DEBEMAIL\" $DEBBUILDOPTS"; then
+ if ! $CHROOTEXEC /bin/bash -c "cd tmp/buildd/*/; $SUTOUSER dpkg-buildpackage -us -uc \"-m$DEBEMAIL\" $DEBBUILDOPTS"; then
echo "pbuilder: Failed autobuilding of package" >&2
umountproc_cleanbuildplace
exit 1;