We need to eliminate symlinks in the resulting application bundle since

FSCopyObject skips over symlinks, which would cause nsUpdateDriver.cpp
to fail to copy the complete updater bundle.
This commit is contained in:
darin%meer.net 2005-06-22 20:52:53 +00:00
parent 6a30b4829a
commit 68b38a0055

View File

@ -100,5 +100,8 @@ libs::
mkdir -p $(DIST)/bin/updater.app
rsync -a --exclude CVS $(srcdir)/macbuild/Contents $(DIST)/bin/updater.app
mkdir -p $(DIST)/bin/updater.app/Contents/MacOS
mv -f $(DIST)/bin/updater $(DIST)/bin/updater.app/Contents/MacOS
# copy and remove to un-symlink (FSCopyObject seems to not copy symlinks)
rm -f $(DIST)/bin/updater.app/Contents/MacOS/updater
cp -f $(DIST)/bin/updater $(DIST)/bin/updater.app/Contents/MacOS
rm -f $(DIST)/bin/updater
endif