MacOSX/Framework/VLC.xcodeproj: Fix the copy script again. SYMROOT is defined everywhere.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 2 Jan 2008 21:41:04 +0000 (21:41 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 2 Jan 2008 21:41:04 +0000 (21:41 +0000)
extras/MacOSX/VLC_app/VLC.xcodeproj/project.pbxproj

index e4c8cea..4ae154a 100644 (file)
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/sh;
-                       shellScript = "if $SYMROOT != \"\"\nthen\n\tFRAMEWORK=$SRCROOT/../Framework/build/$CONFIGURATION/VLC.framework\nelse\n\tFRAMEWORK=$SYMROOT/VLC.framework\nfi\n/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks $FRAMEWORK$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH\n";
+                       shellScript = "if test \"$SYMROOT\" == \"$PROJECT_DIR/build\"\nthen\n\tVLCFRAMEWORK=\"$SRCROOT/../Framework/build/$CONFIGURATION/VLC.framework\"\nelse\n\tVLCFRAMEWORK=\"$SYMROOT/VLC.framework\"\nfi\n/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks $VLCFRAMEWORK $BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH\n\n\n";
                        showEnvVarsInLog = 0;
                };
 /* End PBXShellScriptBuildPhase section */