svnversion from Run Script in Xcode
svnversion from Run Script in Xcode
- Subject: svnversion from Run Script in Xcode
- From: Mitchell Livingston <email@hidden>
- Date: Tue, 02 Jun 2009 20:39:29 -0400
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@hidden)
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:
This email sent to email@hidden