From 6e988a16a99af94f0dfbb486c9712e02c90c99c7 Mon Sep 17 00:00:00 2001 From: dancer Date: Thu, 25 Oct 2001 15:48:02 +0000 Subject: fixed some problems. Changed specs, so that it will use env var to specify maint address than command-line --- pbuilder-checkparams | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pbuilder-checkparams') 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 -- cgit v1.2.3