Ticket #11026: trac_11026-plist-strings.patch

File trac_11026-plist-strings.patch, 741 bytes (added by iandrus, 9 years ago)
  • sage-bdist

    # HG changeset patch
    # User Ivan Andrus <darthandrus@gmail.com>
    # Date 1360706274 25200
    # Node ID cf12da2483896c238aca8e8222ce29a44a20eec9
    # Parent  c20cbdfaf147d5441ecca52b65f730f51c1a3f51
    Trac 11026: Don't run sed on InfoPlist.strings
    
    diff --git a/sage-bdist b/sage-bdist
    a b  
    136136        # I would just change it to be an xml plist, but xcode changes it back.
    137137        plutil -convert xml1 ./Sage.app/Contents/Info.plist
    138138        sed -i '' "s/SAGE_VERSION/$SAGE_VERSION/" \
    139             ./Sage.app/Contents/Info.plist \
    140             ./Sage.app/Contents/Resources/English.lproj/InfoPlist.strings
     139            ./Sage.app/Contents/Info.plist
    141140
    142141        mv sage ./Sage.app/Contents/Resources/
    143142