Explorar o código

MacOSX/Framework/Pre-Compile.sh: Use pbxcp instead of cp.

Pierre d'Herbemont %!s(int64=17) %!d(string=hai) anos
pai
achega
4f468a58eb
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      Pre-Compile.sh

+ 3 - 2
Pre-Compile.sh

@@ -117,6 +117,7 @@ if test "${ACTION}" = "build"; then
     ##########################
     # Build the library folder (Same as VLCKit.framework/lib in Makefile)
     echo "Building share folder..."
-    cp -R ${VLC_BUILD_DIR}/share/luameta ${target_share}
-    cp -R ${VLC_BUILD_DIR}/share/luaplaylist ${target_share}
+    pbxcp="/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks"
+    $pbxcp ${VLC_BUILD_DIR}/share/luameta ${target_share}
+    $pbxcp ${VLC_BUILD_DIR}/share/luaplaylist ${target_share}
 fi