More careful quoting in build-osx-pkg.sh. refs #2393

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2015-03-24 16:42:27 +00:00
parent 61f3d5ae13
commit 21204876ed

View File

@ -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