From b8a7dedacf1e9beaedfe0f4addf64b37e4120beb Mon Sep 17 00:00:00 2001 From: jeremiah sypult Date: Thu, 18 Jul 2013 00:16:38 -0500 Subject: 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:" -- cgit