[75313] users/ryandesign/PCLauncher/PCLauncher.xcodeproj/project.pbxproj
ryandesign at macports.org
ryandesign at macports.org
Fri Jan 21 02:26:54 PST 2011
Revision: 75313
http://trac.macports.org/changeset/75313
Author: ryandesign at 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 */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110121/7169c822/attachment-0001.html>
More information about the macports-changes
mailing list