Re: Subversion and Xcode integration.
Re: Subversion and Xcode integration.
- Subject: Re: Subversion and Xcode integration.
- From: Steve Checkoway <email@hidden>
- Date: Wed, 10 Oct 2007 15:47:43 -0700
I haven't actually been reading this thread, but this bit of script
caught my attention.
Wyatt Webb wrote:
Oh, that's just been RTF'd. Maybe got saved with TextEdit? Here's the
raw text version:
[snip]
echo Add the ‘/usr/local/bin’ path to your profile:
cd ~
echo 'export PATH="$PATH:/usr/local/bin"' >> .profile
Adding the path to .profile like that doesn't seem like a very good
idea. The man page for bash states that it looks for .bash_profile,
.bash_login, and .profile in that order and reads only the first it
finds. That's for an interactive login shell.
For completeness, for an interactive non-login shell, it reads .bashrc;
for a noninteractive shell, it looks for the environment variable
BASH_ENV and if it is nonempty, it uses that as the file to source at
start up.
I don't think there's a good way to add to a user's path, in general. I
think I'd probably just have the script say to add /usr/local/bin to the
path.
--
Steve Checkoway
_______________________________________________
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