From 0d2a576a43dea2a745159c9342509feac476a19d Mon Sep 17 00:00:00 2001 From: jeremiah sypult Date: Thu, 18 Jul 2013 00:16:38 -0500 Subject: [PATCH] fix bug in make-macosx-app.sh with older shells --- make-macosx-app.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 " echo "Example: $0 release x86" echo "Valid targets are:"