aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bin/git-pbuilder4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/git-pbuilder b/bin/git-pbuilder
index e67698de..fef4d770 100644
--- a/bin/git-pbuilder
+++ b/bin/git-pbuilder
@@ -327,11 +327,15 @@ done
# Now we can finally run pdebuild. The quoting here is tricky, but this
# seems to pass everything through properly.
if [ no = "$GIT_PBUILDER_AUTOCONF" ] ; then
+ set -x
pdebuild --pbuilder "$BUILDER" --debbuildopts "$DEBBUILDOPTS" \
"${PDEBUILDOPTS[@]}" -- "${OPTIONS[@]}"
+ { set +x; } 2>/dev/null
else
+ set -x
pdebuild --buildresult "$OUTPUT_DIR" --pbuilder "$BUILDER" \
--debbuildopts "$DEBBUILDOPTS" "${PDEBUILDOPTS[@]}" -- "${OPTIONS[@]}"
+ { set +x; } 2>/dev/null
fi
exit "$?"