diff options
author | dancer <dancer> | 2002-02-19 17:53:33 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-02-19 17:53:33 +0000 |
commit | ae7794be673eeb1f9a2d90b80ff3aafe6252d197 (patch) | |
tree | 92fb870acffb0ac5a1ea0bcf3f77cd6a0a8a17f0 /pbuilder-buildpackage | |
parent | 054b50a2f38fb64bc1b8b81417bd2f202d70178c (diff) | |
download | pbuilder-ae7794be673eeb1f9a2d90b80ff3aafe6252d197.tar pbuilder-ae7794be673eeb1f9a2d90b80ff3aafe6252d197.tar.gz |
updates, mostly for having giced bug, joeyh patch, and supporting emacs
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index 411a7f7..037f25d 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -205,6 +205,11 @@ function createbuilduser () { PACKAGENAME="$1" CHROOTEXEC="chroot $BUILDPLACE " +if [ ! -f "$PACKAGENAME" ]; then + echo "Command line parameter [$PACKAGENAME] is not a valid .dsc file name" >&2 + exit 1; +fi; + if [ -n "$BUILDUSERNAME" -a -n "$BUILDUSERID" ]; then SUTOUSER="HOME=/tmp/buildd su - $BUILDUSERNAME -- " DEBBUILDOPTS="$DEBBUILDOPTS -rfakeroot" @@ -215,10 +220,6 @@ else BUILDUSERID=0 BUILDUSERNAME=root fi -if [ ! -f "$PACKAGENAME" ]; then - echo "Command line parameter [$PACKAGENAME] is not a valid .dsc file name" >&2 - exit 1; -fi; showbuildbanner echobacktime |