• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Build Phase per Configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Build Phase per Configuration
      • From: David Dunham <email@hidden>
  • Prev by Date: Xcode 3.0 DocSet example
  • Next by Date: Re: Can't build RubyCocoa examples with xcode 3
  • Previous by thread: Re: Build Phase per Configuration
  • Next by thread: Re: Build Phase per Configuration
  • Index(es):
    • Date
    • Thread