Permalink
Browse files

[FIX] Shouldn't have $PRODUCT_VERSION in "Install ClickToFlash.app".

  • Loading branch information...
1 parent 50c7569 commit 720ed4e1f25f11dc5a61ea5b0fd6c82919fe33ed @rentzsch committed Jan 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 ClickToFlash.xcodeproj/project.pbxproj
@@ -251,7 +251,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "if [ $BUILD_STYLE != \"Release\" ]; then\n echo \"Could not generate .zip file.\"\n\techo \"Active Configuration needs to be set to 'Release'.\"\n\texit 1\nfi\n\ncd \"$BUILT_PRODUCTS_DIR\"\n\nDIR=\"ClickToFlash\"\n\nrm -rf \"$DIR\" > /dev/null\nmkdir \"$DIR\"\n/Developer/Tools/CpMac -r \"Install ClickToFlash $PRODUCT_VERSION.app\" $DIR\n\nmkdir \"$DIR/Source\"\ncp -r \"$SOURCE_ROOT\"/* \"$DIR/Source\"\n\nfind \"$DIR/Source/ClickToFlash.xcodeproj\" -not -name \"project.pbxproj\" -depth 1 | xargs rm -rf\n\nzip -r ClickToFlash-$PRODUCT_VERSION.zip \"$DIR\"\nrm -rf \"$DIR\" > /dev/null\n\nopen .";
+ shellScript = "if [ $BUILD_STYLE != \"Release\" ]; then\n echo \"Could not generate .zip file.\"\n\techo \"Active Configuration needs to be set to 'Release'.\"\n\texit 1\nfi\n\ncd \"$BUILT_PRODUCTS_DIR\"\n\nDIR=\"ClickToFlash\"\n\nrm -rf \"$DIR\" > /dev/null\nmkdir \"$DIR\"\n/Developer/Tools/CpMac -r \"Install ClickToFlash.app\" $DIR\n\nmkdir \"$DIR/Source\"\ncp -r \"$SOURCE_ROOT\"/* \"$DIR/Source\"\n\nfind \"$DIR/Source/ClickToFlash.xcodeproj\" -not -name \"project.pbxproj\" -depth 1 | xargs rm -rf\n\nzip -r ClickToFlash-$PRODUCT_VERSION.zip \"$DIR\"\nrm -rf \"$DIR\" > /dev/null\n\nopen .";
};
/* End PBXShellScriptBuildPhase section */

0 comments on commit 720ed4e

Please sign in to comment.