aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
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;