In Xcode I have a Run Script phase using the /bin/sh shell. The script consists of: "sh anotherscript.sh". In this other script I can svnversion. This works in terminal, but fails in Xcode. I managed to get it to work by adding, before calling anotherscript.sh: "export PATH=$PATH:/opt/subversion/bin:/opt/local/bin:/usr/local/bin". The thing is, this doesn't seem all that safe and doesn't factor in the svnversion could be somewhere else. Is there a better way?

Thanks,
Mitch
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to