浏览代码

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

Pierre d'Herbemont 17 年之前
父节点
当前提交
4f468a58eb
共有 1 个文件被更改,包括 3 次插入2 次删除
  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)
     # Build the library folder (Same as VLCKit.framework/lib in Makefile)
     echo "Building share folder..."
     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
 fi