fix bug in make-macosx-app.sh with older shells

This commit is contained in:
jeremiah sypult 2013-07-18 00:16:38 -05:00
parent 260233d4ec
commit 0d2a576a43
1 changed files with 5 additions and 1 deletions

View File

@ -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:"