Revision: 25678
          http://sourceforge.net/p/bibdesk/svn/25678
Author:   hofman
Date:     2021-03-31 16:35:48 +0000 (Wed, 31 Mar 2021)
Log Message:
-----------
fall back to plutil when PlistBuddy is not available

Modified Paths:
--------------
    trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj

Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj     2021-03-31 15:19:43 UTC 
(rev 25677)
+++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj     2021-03-31 16:35:48 UTC 
(rev 25678)
@@ -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\nINFOPLIST=\"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\"\n/usr/libexec/PlistBuddy
 -c \"Delete :CFBundleDocumentTypes:1:CFBundleTypeIconSystemGenerated\" 
\"${INFOPLIST}\"\n/usr/libexec/PlistBuddy -c \"Delete 
:CFBundleDocumentTypes:2:CFBundleTypeIconSystemGenerated\" 
\"${INFOPLIST}\"\n/usr/libexec/PlistBuddy -c \"Delete 
:CFBundleDocumentTypes:4:CFBundleTypeIconSystemGenerated\" 
\"${INFOPLIST}\"\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\" 
\"${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";
                };
                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

Reply via email to