]> git.sesse.net Git - vlc/commitdiff
macosx: Use mv and chmod instead of install which doesn't work out-of-the-box here.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 15 Apr 2008 20:58:02 +0000 (22:58 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 15 Apr 2008 20:58:02 +0000 (22:58 +0200)
projects/macosx/framework/Pre-Compile.sh

index 3490e7fb37f249b3c3033929baef9823141f2527..cf791d44ea4f868decc3cedda874961cc4e4fe32 100644 (file)
@@ -92,7 +92,8 @@ if test "${ACTION}" = "build"; then
     if [ "$FULL_PRODUCT_NAME" = "VLC-release.app" ] ; then
         prefix=".libs/"
         install_library "${VLC_BUILD_DIR}/src/${prefix}vlc" "${target}" "bin" "@loader_path/lib"
-        install ${target}/vlc ${target}/VLC
+        mv ${target}/vlc ${target}/VLC
+        chmod +x ${target}/VLC
         suffix="dylib"
     else
         prefix=""