aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2012-01-27 07:01:58 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-01-27 07:01:58 +0900
commit877ed0551853b8c2cfc4c7dfb998b7299dcd0994 (patch)
treeaaacd5a825d4e094da8ec45b727cca73f5a2f635 /pbuilder-buildpackage
parentea23ab7c6ac5a229216af1521253f45cbcb556e4 (diff)
downloadpbuilder-877ed0551853b8c2cfc4c7dfb998b7299dcd0994.tar
pbuilder-877ed0551853b8c2cfc4c7dfb998b7299dcd0994.tar.gz
I think I need to quote PATH
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 44ac855..66713ad 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -111,7 +111,7 @@ else
log "E: pbuilder: Failed chowning to $BUILDUSERNAME:$BUILDUSERNAME"
exit 1;
fi
-if echo "( cd tmp/buildd; env PATH=$PATH /usr/bin/dpkg-source -x $(basename $PACKAGENAME) )" | $CHROOTEXEC $SUTOUSER ; then
+if echo "( cd tmp/buildd; env PATH=\"$PATH\" /usr/bin/dpkg-source -x $(basename $PACKAGENAME) )" | $CHROOTEXEC $SUTOUSER ; then
: # success
else
log "E: pbuilder: Failed extracting the source"
@@ -122,7 +122,7 @@ log "I: Building the package"
executehooks "A"
-DPKG_COMMANDLINE="env PATH=$PATH dpkg-buildpackage -us -uc ${DEBEMAIL:+\"-e$DEBEMAIL\"} $DEBBUILDOPTS"
+DPKG_COMMANDLINE="env PATH=\"$PATH\" dpkg-buildpackage -us -uc ${DEBEMAIL:+\"-e$DEBEMAIL\"} $DEBBUILDOPTS"
(
: Build process