Page 1 of 1

Problem compiling script file

Posted: Sun May 04, 2008 9:16 am
by paul4589
When trying to compile the script the following error message occurs
build_qcad.sh: line 61: syntax error near unexpected token `then'
build_qcad.sh: line 61: `for arg in $@ do if [ "$arg" == "demo" ] ; then QMAKE_OPT="$QMAKE_OPT"'

Is there an issue with the syntax in the script file build_qcad.sh for Mac OSX?