7 # The editing of allmydata-tahoe.egg-link and easy-install.pth files
8 # (*in-place*) ensures that we reference the source at the correct path,
9 # removing the hard-coded local source tree directory names.
11 find support -name $APPNAME.egg-link -execdir sh -c "echo >> {}; echo /Applications/tahoe.app/src >> {}" \;
12 find support -name easy-install.pth -execdir sed -i.bak 's|^.*/src$|../../../../src|' '{}' \;
14 # create component pkg
15 pkgbuild --root $PWD \
16 --identifier com.leastauthority.tahoe \
18 --ownership recommended \
19 --install-location /Applications/tahoe.app \
20 --scripts $PWD/misc/build_helpers/osx/scripts \
23 # create product archive
24 productbuild --distribution $PWD/misc/build_helpers/osx/Distribution.xml \
26 tahoe-lafs-$VERSION-osx.pkg
28 # remove intermediate pkg