From 338d228d31541bdc2cdb0db373d21ee52e137607 Mon Sep 17 00:00:00 2001 From: dancer Date: Thu, 12 Dec 2002 08:56:05 +0000 Subject: --auto-debsign option --- pbuilder-checkparams | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) (limited to 'pbuilder-checkparams') diff --git a/pbuilder-checkparams b/pbuilder-checkparams index b6580be..b442ac0 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -25,6 +25,7 @@ INTERNAL_BUILD_UML="" CHROOTEXEC="" OVERRIDE_APTLINES="no" BINARY_ARCH="no" +PBUILDER_BUILD_LOGFILE= while [ -n "$1" ]; do case "$1" in @@ -84,17 +85,10 @@ while [ -n "$1" ]; do DEBBUILDOPTS="$2"; shift; shift; ;; - --buildsourceroot*) - BUILDSOURCEROOTCMD="$2"; - shift; shift; - ;; - --pbuilderroot*) - PBUILDERROOTCMD="$2"; - shift; shift; - ;; --logfile) exec > $(readlink -f "$2"); exec 2>&1 + PBUILDER_BUILD_LOGFILE=$(readlink -f "$2") shift; shift; ;; --aptconfdir) @@ -105,18 +99,6 @@ while [ -n "$1" ]; do TIMEOUT_TIME="$2" shift; shift; ;; - ## internal options. - --internal-chrootexec) - # specify custom chrootexec function -- this is internal debugging function - CHROOTEXEC="$2" - shift; shift; - ;; - --internal-build-uml) - # specify this option if I am running inside UML. - echo " -> Running in pbuilder-user-mode-linux mode" - INTERNAL_BUILD_UML="yes" - shift; - ;; --help) showhelp ;; @@ -129,6 +111,32 @@ while [ -n "$1" ]; do DEBBUILDOPTS="${DEBBUILDOPTS} -B" shift; ;; + ## pdebuild option + --auto-debsign) + AUTO_DEBSIGN="yes" + shift; + ;; + --buildsourceroot*) + BUILDSOURCEROOTCMD="$2"; + shift; shift; + ;; + --pbuilderroot*) + PBUILDERROOTCMD="$2"; + shift; shift; + ;; + ## internal options. + --internal-chrootexec) + # specify custom chrootexec function -- this is internal debugging function + CHROOTEXEC="$2" + shift; shift; + ;; + --internal-build-uml) + # specify this option if I am running inside UML. + echo " -> Running in pbuilder-user-mode-linux mode" + INTERNAL_BUILD_UML="yes" + shift; + ;; + --) # this is an empty option, to no longer process. shift; break; -- cgit v1.2.3