]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/mac_bundles.bkl
fixes potential crash under gatekeeper
[wxWidgets.git] / build / bakefiles / mac_bundles.bkl
index 96847db952301aa4f59a9498362449f35312dc79..470cd19a8948bacb5f79d3628b7fa1878707de52 100644 (file)
                     $(BUNDLE_PLIST) >$(BUNDLE)/Info.plist
 
                 <!-- PkgInfo: -->
-                echo -n "APPL????" >$(BUNDLE)/PkgInfo
+                /bin/echo "APPL????" >$(BUNDLE)/PkgInfo
 
                 <!-- move the binary: -->
-                mv $(ref("__targetdir",id))$(ref("__targetname",id)) $(BUNDLE)/MacOS/$(id)
+                ln -f $(ref("__targetdir",id))$(ref("__targetname",id)) $(BUNDLE)/MacOS/$(id)
 
                 <!-- copy the application icon: -->
                 cp -f $(BUNDLE_ICON) $(BUNDLE)/Resources/wxmac.icns