aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2003-12-16 14:34:31 +0000
committerdancer <dancer>2003-12-16 14:34:31 +0000
commit65b755a6ccbbf858d4180394c7284a9d2f48f6ac (patch)
treeabf291f5a091baecafc5009860c789662840f740 /pbuilder-checkparams
parent6fc4aa6416317f702d30e74c2df7ee1e32b0a60b (diff)
downloadpbuilder-65b755a6ccbbf858d4180394c7284a9d2f48f6ac.tar
pbuilder-65b755a6ccbbf858d4180394c7284a9d2f48f6ac.tar.gz
+ * debian/control (Description): do not conflict with older bash.
+ + * pbuilder-buildpackage-funcs: + * pbuilder-checkparams: do not error out on + failure to unset. + + * pbuilder.8: document --debug. + + * pbuilder-checkparams (IGNORE_UMOUNT): --debug option. + + * pbuilder-createbuildenv: + * pbuilder-updatebuildenv: use PBUILDER_DEBUGMODE variable +
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams10
1 files changed, 8 insertions, 2 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 96cdb1a..346e24d 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -28,7 +28,8 @@ BINARY_ARCH="no"
PBUILDER_BUILD_LOGFILE=
USE_PKGNAME_LOGFILE=""
PRESERVE_BUILDPLACE="no"
-unset EXTRA_CONFIGFILE
+unset EXTRA_CONFIGFILE || true
+PBUILDER_DEBUGMODE=
#option for user-mode-linux only.
IGNORE_UMOUNT=""
@@ -173,6 +174,11 @@ while [ -n "$1" ]; do
CHROOTEXEC="$2"
shift; shift;
;;
+ --debug)
+ PBUILDER_DEBUGMODE=yes
+ set -x
+ shift;
+ ;;
--no-targz)
# specify this option if I am running in no-targz mode
echo " -> Running in no-targz mode"
@@ -225,7 +231,7 @@ case "$PBCURRENTCOMMANDLINEOPERATION" in
FORCE_CONFNEW[0]='-o'
FORCE_CONFNEW[1]='DPkg::Options::=--force-confnew'
else
- unset FORCE_CONFNEW
+ unset FORCE_CONFNEW || true
fi
;;
esac