From: Daira Hopwood Date: Tue, 24 Mar 2015 16:42:27 +0000 (+0000) Subject: More careful quoting in build-osx-pkg.sh. refs #2393 X-Git-Tag: allmydata-tahoe-1.10.1a1~55 X-Git-Url: https://git.rkrishnan.org/pf/content/simplejson/frontends/somewhere?a=commitdiff_plain;h=21204876ededdaadde4576c400d805f64d1c775f;p=tahoe-lafs%2Ftahoe-lafs.git More careful quoting in build-osx-pkg.sh. refs #2393 Signed-off-by: Daira Hopwood --- diff --git a/misc/build_helpers/build-osx-pkg.sh b/misc/build_helpers/build-osx-pkg.sh index 452dc4b7..fe89cf69 100755 --- a/misc/build_helpers/build-osx-pkg.sh +++ b/misc/build_helpers/build-osx-pkg.sh @@ -12,18 +12,18 @@ find support -name $APPNAME.egg-link -execdir sh -c "echo >> {}; echo /Applicati find support -name easy-install.pth -execdir sed -i.bak 's|^.*/src$|../../../../src|' '{}' \; # create component pkg -pkgbuild --root $PWD \ +pkgbuild --root "$PWD" \ --identifier com.leastauthority.tahoe \ - --version $VERSION \ + --version "$VERSION" \ --ownership recommended \ --install-location /Applications/tahoe.app \ - --scripts $PWD/misc/build_helpers/osx/scripts \ + --scripts "$PWD/misc/build_helpers/osx/scripts" \ tahoe-lafs.pkg # create product archive -productbuild --distribution $PWD/misc/build_helpers/osx/Distribution.xml \ +productbuild --distribution "$PWD/misc/build_helpers/osx/Distribution.xml" \ --package-path . \ - tahoe-lafs-$VERSION-osx.pkg + "tahoe-lafs-$VERSION-osx.pkg" # remove intermediate pkg rm -f tahoe-lafs.pkg