From 5978ef1e4ea88f6907b8d889ea2f4b914202e313 Mon Sep 17 00:00:00 2001 From: dancer Date: Tue, 15 Jan 2002 02:22:39 +0000 Subject: added configs --- pbuilder-checkparams | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'pbuilder-checkparams') diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 45dcd4e..6ee569c 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -4,7 +4,14 @@ # empty some vars. DPKG_BUILDPACKAGEOPT="" -. /etc/pbuilderrc +for RCFILE in /usr/share/pbuilder/pbuilderrc /etc/pbuilderrc; do + if [ -f "$RCFILE"]; then + . "$RCFILE" + else + echo "Warning: $RCFILE does not exist" + fi +done + . /usr/lib/pbuilder/pbuilder-modules # the default is to add a PID in the buildplace specified in the config file. -- cgit v1.2.3