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

View file

@ -3,7 +3,11 @@
# Let's make the user give us a target to work with # Let's make the user give us a target to work with
# architecture is optional # architecture is optional
# if used, it we will store the .app bundle in the target arch build directory # 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 "Usage: $0 target <arch>"
echo "Example: $0 release x86" echo "Example: $0 release x86"
echo "Valid targets are:" echo "Valid targets are:"