diff options
author | dancer <dancer> | 2001-10-25 15:48:02 +0000 |
---|---|---|
committer | dancer <dancer> | 2001-10-25 15:48:02 +0000 |
commit | 6e988a16a99af94f0dfbb486c9712e02c90c99c7 (patch) | |
tree | edea0bbbb3a7929331bf2cf391c10852656836e0 /pbuilder-checkparams | |
parent | 03d8438e35cdfbd07519a2b2e3a8103bc07cc441 (diff) | |
download | pbuilder-6e988a16a99af94f0dfbb486c9712e02c90c99c7.tar pbuilder-6e988a16a99af94f0dfbb486c9712e02c90c99c7.tar.gz |
fixed some problems. Changed specs, so that it will use env var to specify maint address than command-line
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 0a63053..08de056 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -1,6 +1,9 @@ #! /bin/bash # this is sourced from pbuilder packages to process the optional parameters. +# empty some vars. +DPKG_BUILDPACKAGEOPT="" + . /etc/pbuilderrc . /usr/lib/pbuilder/pbuilder-modules @@ -62,8 +65,8 @@ while [ -n "$1" ]; do showhelp ;; --sponsorship) - DPKG_BUILDPACKAGEOPT="-m$2"; - shift; shift; + DPKG_BUILDPACKAGEOPT="-m$SPONSORING_MAILADDR"; + shift; ;; --*) echo "Error: Unknown option [$1] was specified " >&2 |