• 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: Subversion and Xcode integration.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Subversion and Xcode integration. (From: Ryan Minihan <email@hidden>)
 >Re: Subversion and Xcode integration. (From: "Jaime Rios" <email@hidden>)
 >Re: Subversion and Xcode integration. (From: Ryan Minihan <email@hidden>)
 >Re: Subversion and Xcode integration. (From: Wyatt Webb <email@hidden>)

  • Prev by Date: RE: [OT] How to extract a BOM archive correctly?
  • Next by Date: RE: [OT] How to extract a BOM archive correctly?
  • Previous by thread: Re: Subversion and Xcode integration.
  • Next by thread: Timing puzzle (was Release Build Fails)
  • Index(es):
    • Date
    • Thread