aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2002-01-28 09:18:38 +0000
committerdancer <dancer>2002-01-28 09:18:38 +0000
commit62afe1071b9ec9f7cc47f1802d18c64537cdde07 (patch)
treec28061c017972aa904545ca9dab5efa6a07bc1dc /pbuilder-checkparams
parent35ea84faeed3b56d9509dd376ade88544b0ec59d (diff)
downloadpbuilder-62afe1071b9ec9f7cc47f1802d18c64537cdde07.tar
pbuilder-62afe1071b9ec9f7cc47f1802d18c64537cdde07.tar.gz
checkparam, reads ${home}/.pbuilderrc.
--logfile option is improved. (hopefully)
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams5
1 files changed, 3 insertions, 2 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 5f5d13f..058b91a 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -1,7 +1,7 @@
#! /bin/bash
# this is sourced from pbuilder packages to process the optional parameters.
-for RCFILE in /usr/share/pbuilder/pbuilderrc /etc/pbuilderrc; do
+for RCFILE in /usr/share/pbuilder/pbuilderrc /etc/pbuilderrc ${HOME}/.pbuilderrc; do
if [ -f "$RCFILE" ]; then
. "$RCFILE"
else
@@ -82,7 +82,8 @@ while [ -n "$1" ]; do
shift; shift;
;;
--logfile)
- exec 2>&1 > $(readlink -f "$2");
+ exec > $(readlink -f "$2");
+ exec 2>&1
shift; shift;
;;
--help)