mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-29 15:21:54 +00:00
fix bug in make-macosx-app.sh with older shells
This commit is contained in:
parent
260233d4ec
commit
0d2a576a43
1 changed files with 5 additions and 1 deletions
|
@ -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:"
|
||||||
|
|
Loading…
Reference in a new issue