From 65b755a6ccbbf858d4180394c7284a9d2f48f6ac Mon Sep 17 00:00:00 2001 From: dancer Date: Tue, 16 Dec 2003 14:34:31 +0000 Subject: + * 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 + --- pbuilder-checkparams | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pbuilder-checkparams') 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 -- cgit v1.2.3