mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
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:
parent
6a30b4829a
commit
68b38a0055
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user