aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/trim-application.sh
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2014-01-18 23:42:33 +0000
committerStuart Connolly <stuart02@gmail.com>2014-01-18 23:42:33 +0000
commit1ee5c3517856bcad6c51f525af7fd8f84bd6d12e (patch)
tree12b1926d36ada7c8f0c55eaf9f90825747c647ec /Scripts/trim-application.sh
parenta3693fc5c9a04764bdb6b512c9d5397849c8142f (diff)
downloadsequelpro-1ee5c3517856bcad6c51f525af7fd8f84bd6d12e.tar.gz
sequelpro-1ee5c3517856bcad6c51f525af7fd8f84bd6d12e.tar.bz2
sequelpro-1ee5c3517856bcad6c51f525af7fd8f84bd6d12e.zip
Remove strip debug symbols step.
Diffstat (limited to 'Scripts/trim-application.sh')
-rwxr-xr-xScripts/trim-application.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/Scripts/trim-application.sh b/Scripts/trim-application.sh
index f6096108..bbe36551 100755
--- a/Scripts/trim-application.sh
+++ b/Scripts/trim-application.sh
@@ -40,7 +40,6 @@
# Parameters: -p -- The path to the application that is to be trimmed
# -d -- Remove unnecessary files (i.e. .DS_Store files, etc) (optional).
# -n -- Trim nib files (i.e. remove .info.nib, classes.nib, data.dependency and designable.nib) (optional).
-# -s -- Strip debug symbols from application binary (optional).
# -t -- Compress tiff images using LZW compression (optional).
# -f -- Remove framework headers (optional).
# -r -- Remove resource forks (optional).
@@ -58,13 +57,11 @@ do
p) APP_PATH="$OPTARG";;
d) REMOVE_FILES=1;;
n) TRIM_NIBS=1;;
- s) STRIP_DEBUG=1;;
t) COMPRESS_TIFF=1;;
f) REMOVE_F_HEADERS=1;;
r) REMOVE_RSRC=1;;
a) REMOVE_FILES=1;
TRIM_NIBS=1;
- STRIP_DEBUG=1;
COMPRESS_TIFF=1;
REMOVE_F_HEADERS=1;
REMOVE_RSRC=1;;
@@ -114,14 +111,6 @@ then
find "$APP_PATH" \( -name 'info.nib' -or -name 'classes.nib' -or -name 'data.dependency' -or -name 'designable.nib' -type f \) | while read FILE; do; printf "\tRemoving nib file: ${FILE}\n"; rm "$FILE"; done;
fi
-# Strip debug symbols
-if [ $STRIP_DEBUG ]
-then
- printf '\nStripping debug symbols...\n'
-
- find "${APP_PATH}/Contents/MacOS" -type f | while read FILE; do; printf "\tStripping binary: ${FILE}\n"; /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Versions/A/Resources/pbxcp -resolve-src-symlinks -strip-debug-symbols "$FILE" '/tmp'; mv "/tmp/$(basename "$FILE")" "$FILE"; done;
-fi
-
# Compress tiff images
if [ $COMPRESS_TIFF ]
then