mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 02:40:07 +00:00
More careful quoting in build-osx-pkg.sh. refs #2393
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
61f3d5ae13
commit
21204876ed
@ -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|' '{}' \;
|
find support -name easy-install.pth -execdir sed -i.bak 's|^.*/src$|../../../../src|' '{}' \;
|
||||||
|
|
||||||
# create component pkg
|
# create component pkg
|
||||||
pkgbuild --root $PWD \
|
pkgbuild --root "$PWD" \
|
||||||
--identifier com.leastauthority.tahoe \
|
--identifier com.leastauthority.tahoe \
|
||||||
--version $VERSION \
|
--version "$VERSION" \
|
||||||
--ownership recommended \
|
--ownership recommended \
|
||||||
--install-location /Applications/tahoe.app \
|
--install-location /Applications/tahoe.app \
|
||||||
--scripts $PWD/misc/build_helpers/osx/scripts \
|
--scripts "$PWD/misc/build_helpers/osx/scripts" \
|
||||||
tahoe-lafs.pkg
|
tahoe-lafs.pkg
|
||||||
|
|
||||||
# create product archive
|
# create product archive
|
||||||
productbuild --distribution $PWD/misc/build_helpers/osx/Distribution.xml \
|
productbuild --distribution "$PWD/misc/build_helpers/osx/Distribution.xml" \
|
||||||
--package-path . \
|
--package-path . \
|
||||||
tahoe-lafs-$VERSION-osx.pkg
|
"tahoe-lafs-$VERSION-osx.pkg"
|
||||||
|
|
||||||
# remove intermediate pkg
|
# remove intermediate pkg
|
||||||
rm -f tahoe-lafs.pkg
|
rm -f tahoe-lafs.pkg
|
||||||
|
Loading…
Reference in New Issue
Block a user