diff options
author | jeremiah sypult <jeremiah@sypult.com> | 2013-07-18 00:16:38 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:33 +0100 |
commit | b8a7dedacf1e9beaedfe0f4addf64b37e4120beb (patch) | |
tree | d47880f4af2a966fc92cd9fae1af74a4f96dc1ac | |
parent | 0a53ae4da1c4dc05d5ed74867a0a80ed0a76076f (diff) |
fix bug in make-macosx-app.sh with older shells
-rwxr-xr-x | make-macosx-app.sh | 6 |
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:" |