Re: Build Phase per Configuration
Re: Build Phase per Configuration
- Subject: Re: Build Phase per Configuration
- From: Greg Guerin <email@hidden>
- Date: Tue, 13 Nov 2007 16:47:25 -0700
David Dunham wrote:
>Script-63A3409E0CE9325E00C7854A.sh: line 5: syntax error near unexpected
>token `fi'
>Script-63A3409E0CE9325E00C7854A.sh: line 5: `fi'
Try changing this:
if [ $(CONFIGURATION) -eq "Release" ] then
to this:
if [ "${CONFIGURATION}" = "Release" ] then
I.e. curly brackets instead of parens, double-quoted, and binary operator =.
The -eq operator compares integer values. See 'man test'.
Also make sure it's using the sh or bash shell, not csh or tcsh.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden