summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeremiah sypult <jeremiah@sypult.com>2013-07-18 00:16:38 -0500
committerTim Angus <tim@ngus.net>2014-06-17 17:43:33 +0100
commitb8a7dedacf1e9beaedfe0f4addf64b37e4120beb (patch)
treed47880f4af2a966fc92cd9fae1af74a4f96dc1ac
parent0a53ae4da1c4dc05d5ed74867a0a80ed0a76076f (diff)
fix bug in make-macosx-app.sh with older shells
-rwxr-xr-xmake-macosx-app.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/make-macosx-app.sh b/make-macosx-app.sh
index 168109bb..cde7413e 100755
--- a/make-macosx-app.sh
+++ b/make-macosx-app.sh
@@ -3,7 +3,11 @@
# Let's make the user give us a target to work with
# architecture is optional
# if used, it we will store the .app bundle in the target arch build directory
-if [ $# == 0 ] || [ $# -gt 2 ]; then
+
+# TODO: check for 1 or two parameters
+#if [ $# == 0 ] || [ $# -gt 2 ]; then
+
+if [ "$1" == "" ]; then
echo "Usage: $0 target <arch>"
echo "Example: $0 release x86"
echo "Valid targets are:"