aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/trim-application.sh
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-01-03 19:05:02 +0000
committerstuconnolly <stuart02@gmail.com>2013-01-03 19:05:02 +0000
commitc626140ce65c3e9383d80e239562d54dc9f208e5 (patch)
treeec31f9d3069e3ff4a4083a566b14de895d912027 /Scripts/trim-application.sh
parentdb10c94a14e8ce49668d4ab687c6d769ac7cb459 (diff)
downloadsequelpro-c626140ce65c3e9383d80e239562d54dc9f208e5.tar.gz
sequelpro-c626140ce65c3e9383d80e239562d54dc9f208e5.tar.bz2
sequelpro-c626140ce65c3e9383d80e239562d54dc9f208e5.zip
Tidy up build scripts.
Diffstat (limited to 'Scripts/trim-application.sh')
-rwxr-xr-xScripts/trim-application.sh6
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