aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2002-01-15 02:22:39 +0000
committerdancer <dancer>2002-01-15 02:22:39 +0000
commit5978ef1e4ea88f6907b8d889ea2f4b914202e313 (patch)
treed0a1debb0579a52f16cf553cd8c335dc116370dd /pbuilder-checkparams
parent0617ce9a3e5fd9c49fd8013afe663e0ebb072990 (diff)
downloadpbuilder-5978ef1e4ea88f6907b8d889ea2f4b914202e313.tar
pbuilder-5978ef1e4ea88f6907b8d889ea2f4b914202e313.tar.gz
added configs
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams9
1 files changed, 8 insertions, 1 deletions
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.