diff options
author | dancer <dancer> | 2002-01-15 02:22:39 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-01-15 02:22:39 +0000 |
commit | 5978ef1e4ea88f6907b8d889ea2f4b914202e313 (patch) | |
tree | d0a1debb0579a52f16cf553cd8c335dc116370dd /pbuilder-checkparams | |
parent | 0617ce9a3e5fd9c49fd8013afe663e0ebb072990 (diff) | |
download | pbuilder-5978ef1e4ea88f6907b8d889ea2f4b914202e313.tar pbuilder-5978ef1e4ea88f6907b8d889ea2f4b914202e313.tar.gz |
added configs
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 9 |
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. |