Fixed code signing release frameworks
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 23:40:10 -0700
changeset 8995d095e572e0d5
parent 8994 b80b0595975c
child 8996 b8147002c991
Fixed code signing release frameworks
Xcode/SDL/pkg-support/codesign-frameworks.sh
     1.1 --- a/Xcode/SDL/pkg-support/codesign-frameworks.sh	Mon Jul 07 23:33:57 2014 -0700
     1.2 +++ b/Xcode/SDL/pkg-support/codesign-frameworks.sh	Mon Jul 07 23:40:10 2014 -0700
     1.3 @@ -1,6 +1,6 @@
     1.4  #!/bin/sh
     1.5  
     1.6 -# WARNING: You may have to run Clean in Xcode after changing CODE_SIGN_IDENTITY! 
     1.7 +# WARNING: You may have to run Clean in Xcode after changing CODE_SIGN_IDENTITY!
     1.8  
     1.9  # Verify that $CODE_SIGN_IDENTITY is set
    1.10  if [ -z "$CODE_SIGN_IDENTITY" ] ; then
    1.11 @@ -14,20 +14,16 @@
    1.12      fi
    1.13  fi
    1.14  
    1.15 -SAVEIFS=$IFS
    1.16 -IFS=$(echo -en "\n\b")
    1.17 -
    1.18  FRAMEWORK_DIR="${TARGET_BUILD_DIR}"
    1.19  
    1.20  # Loop through all frameworks
    1.21 -FRAMEWORKS=`find "${FRAMEWORK_DIR}" -type d -name "*.framework" | sed -e "s/\(.*\)/\1\/Versions\/A\//"`
    1.22 +FRAMEWORKS=`find "${FRAMEWORK_DIR}" -type d -name "*.framework"`
    1.23  RESULT=$?
    1.24  if [[ $RESULT != 0 ]] ; then
    1.25      exit 1
    1.26  fi
    1.27  
    1.28 -echo "Found:"
    1.29 -echo "${FRAMEWORKS}"
    1.30 +echo "Found: ${FRAMEWORKS}"
    1.31  
    1.32  for FRAMEWORK in $FRAMEWORKS;
    1.33  do
    1.34 @@ -38,6 +34,3 @@
    1.35          exit 1
    1.36      fi
    1.37  done
    1.38 -
    1.39 -# restore $IFS
    1.40 -IFS=$SAVEIFS