aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authordancer <dancer>2001-08-25 09:09:18 +0000
committerdancer <dancer>2001-08-25 09:09:18 +0000
commit55a778a15f3573e43b8babe7fd8181514cc5b992 (patch)
treeabe91fb1ce7d01ef690eab92ddfc0a515561a141 /pbuilder-updatebuildenv
parent581154ea97cd07bac11ae0f7b53f316c5924b708 (diff)
downloadpbuilder-55a778a15f3573e43b8babe7fd8181514cc5b992.tar
pbuilder-55a778a15f3573e43b8babe7fd8181514cc5b992.tar.gz
making more use of quotation marks, and adding pbuilder checkparams support for all apps. They all have decent command-line support now, I guess
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv6
1 files changed, 2 insertions, 4 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index ef578b3..54f9a4c 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -2,13 +2,11 @@
export LANG=C
export LC_ALL=C
-#this option is optional
-DISTRIBUTION=$1
-
. /etc/pbuilderrc
+. /usr/lib/pbuilder/pbuilder-checkparams
CHROOTEXEC="chroot $BUILDPLACE "
-echo "Upgrading for distribution $DISTRIBUTION"
+test -n "$DISTRIBUTION" && echo "Upgrading for distribution $DISTRIBUTION"
#cd $MYREPOSITORY
#echo Initializing repository