diff options
author | stuconnolly <stuart02@gmail.com> | 2013-01-03 19:05:02 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-01-03 19:05:02 +0000 |
commit | c626140ce65c3e9383d80e239562d54dc9f208e5 (patch) | |
tree | ec31f9d3069e3ff4a4083a566b14de895d912027 /Scripts/trim-application.sh | |
parent | db10c94a14e8ce49668d4ab687c6d769ac7cb459 (diff) | |
download | sequelpro-c626140ce65c3e9383d80e239562d54dc9f208e5.tar.gz sequelpro-c626140ce65c3e9383d80e239562d54dc9f208e5.tar.bz2 sequelpro-c626140ce65c3e9383d80e239562d54dc9f208e5.zip |
Tidy up build scripts.
Diffstat (limited to 'Scripts/trim-application.sh')
-rwxr-xr-x | Scripts/trim-application.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Scripts/trim-application.sh b/Scripts/trim-application.sh index b1c0bfbb..f6096108 100755 --- a/Scripts/trim-application.sh +++ b/Scripts/trim-application.sh @@ -48,7 +48,7 @@ usage() { - echo "Usage: `basename $0` -p application_path [-d -n -s -t -f -r]" + echo "Usage: $(basename $0) -p application_path [-d -n -s -t -f -r]" exit 1 } @@ -96,7 +96,7 @@ then usage fi -printf "Trimming application bundle '`basename \"$APP_PATH\"`' at '${APP_PATH}'...\n\n" +printf "Trimming application bundle '$(basename \"$APP_PATH\")' at '${APP_PATH}'...\n\n" # Remove unnecessary files if [ $REMOVE_FILES ] @@ -151,6 +151,6 @@ then find "$APP_PATH" -type f | while read FILE; do if [ -s "${FILE}/rsrc" ]; then; printf "\tRemoving reource: ${FILE}/rsrc\n"; cp /dev/null "${FILE}/rsrc"; fi; done; fi -printf "\nTrimming application bundle '`basename \"$APP_PATH\"`' complete\n" +printf "\nTrimming application bundle '$(basename \"$APP_PATH\")' complete\n\n" exit 0 |