diff options
author | Junichi Uekawa <dancer@netfort.gr.jp> | 2012-01-27 07:01:58 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@netfort.gr.jp> | 2012-01-27 07:01:58 +0900 |
commit | 877ed0551853b8c2cfc4c7dfb998b7299dcd0994 (patch) | |
tree | aaacd5a825d4e094da8ec45b727cca73f5a2f635 /pbuilder-buildpackage | |
parent | ea23ab7c6ac5a229216af1521253f45cbcb556e4 (diff) | |
download | pbuilder-877ed0551853b8c2cfc4c7dfb998b7299dcd0994.tar pbuilder-877ed0551853b8c2cfc4c7dfb998b7299dcd0994.tar.gz |
I think I need to quote PATH
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 4 |
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 |