Re: Run Script build phase to call genstrings only for Release config
Re: Run Script build phase to call genstrings only for Release config
- Subject: Re: Run Script build phase to call genstrings only for Release config
- From: David Masover <email@hidden>
- Date: Wed, 19 Jul 2006 00:36:26 -0500
Aaron Montgomery wrote:
if [ "${CONFIGURATION}" = 'Release' ]; then
#blah blah blah
fi
I'm sure it's just a nitpick, but here I'd do
if [ $CONFIGURATION != 'Release' ]; then
exit
fi
That way, if the entire script is only intended to run on release, this
avoids indenting the entire script or worrying about the closing fi.
Bash is way more powerful than it gets credit for, and I can safely say
I wouldn't be using OS X at all without it.
_______________________________________________
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