Revision: 25679 http://sourceforge.net/p/bibdesk/svn/25679 Author: hofman Date: 2021-03-31 17:39:05 +0000 (Wed, 31 Mar 2021) Log Message: ----------- Pass multiple commands to plistbuddy
Modified Paths: -------------- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj =================================================================== --- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2021-03-31 16:35:48 UTC (rev 25678) +++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2021-03-31 17:39:05 UTC (rev 25679) @@ -4167,7 +4167,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "# the Xcode version used for nightly build does not create a compiled assets catalog\nASSETS=\"${BUILT_PRODUCTS_DIR}/${RESOURCES_FOLDER_PATH}/Assets.car\"\n\nif [ -f \"$ASSETS\" ]; then\n\nINFOPLIST=\"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\"\nPLIST_BUDDY=\"/usr/libexec/PlistBuddy\"\n\nif [ -x \"${PLIST_BUDDY}\" ]; then\n\n\"${PLIST_BUDDY}\" -c \"Delete :CFBundleDocumentTypes:1:CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n\"${PLIST_BUDDY}\" -c \"Delete :CFBundleDocumentTypes:2:CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n\"${PLIST_BUDDY}\" -c \"Delete :CFBundleDocumentTypes:4:CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n\nelse\n\n/usr/bin/plutil -remove \"CFBundleDocumentTypes.1.CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n/usr/bin/plutil -remove \"CFBundleDocumentTypes.2.CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n/usr/bin/plutil -remove \"CFBundleDocumentTypes.4.CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n\nfi\n\nfi\n"; + shellScript = "# the Xcode version used for nightly build does not create a compiled assets catalog\nASSETS=\"${BUILT_PRODUCTS_DIR}/${RESOURCES_FOLDER_PATH}/Assets.car\"\n\nif [ -f \"$ASSETS\" ]; then\n\nINFOPLIST=\"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\"\nPLIST_BUDDY=\"/usr/libexec/PlistBuddy\"\n\nif [ -x \"${PLIST_BUDDY}\" ]; then\n\n\"${PLIST_BUDDY}\" -c \"Delete :CFBundleDocumentTypes:1:CFBundleTypeIconSystemGenerated\" -c \"Delete :CFBundleDocumentTypes:2:CFBundleTypeIconSystemGenerated\" -c \"Delete :CFBundleDocumentTypes:4:CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n\nelse\n\n/usr/bin/plutil -remove \"CFBundleDocumentTypes.1.CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n/usr/bin/plutil -remove \"CFBundleDocumentTypes.2.CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n/usr/bin/plutil -remove \"CFBundleDocumentTypes.4.CFBundleTypeIconSystemGenerated\" \"${INFOPLIST}\"\n\nfi\n\nfi\n"; }; CEF8343E0C77502C00A3AD51 /* Run Script: Build Help */ = { isa = PBXShellScriptBuildPhase; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit