Revision: 75313 http://trac.macports.org/changeset/75313 Author: ryandesign@macports.org Date: 2011-01-21 02:26:53 -0800 (Fri, 21 Jan 2011) Log Message: ----------- Also look for PlistBuddy in a package receipt, which is the only place it seems likely to be on Tiger Modified Paths: -------------- users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj Modified: users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj =================================================================== --- users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj 2011-01-21 10:02:32 UTC (rev 75312) +++ users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj 2011-01-21 10:26:53 UTC (rev 75313) @@ -237,7 +237,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "SVNVERSION=$(which svnversion)\nPLISTBUDDY=/usr/libexec/PlistBuddy\nif [ -x $SVNVERSION -a -x $PLISTBUDDY ]; then\n\tREV=`$SVNVERSION -nc | sed 's/^[^:]*://'`\n\t$PLISTBUDDY -c \"Set :CFBundleVersion $REV\" \"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\"\nfi"; + shellScript = "SVNVERSION=$(which svnversion)\nPLISTBUDDY=/usr/libexec/PlistBuddy\n[ -x $PLISTBUDDY ] || PLISTBUDDY=/Library/Receipts/AdditionalEssentials.pkg/Contents/Resources/PlistBuddy\nif [ -x $SVNVERSION -a -x $PLISTBUDDY ]; then\n\tREV=`$SVNVERSION -nc | sed 's/^[^:]*://'`\n\t$PLISTBUDDY -c \"Set :CFBundleVersion $REV\" \"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\"\nfi"; }; /* End PBXShellScriptBuildPhase section */
participants (1)
-
ryandesign@macports.org