This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to gcc_release


On 25 Nov 2001, Alexandre Oliva wrote:

> > -	  PATH=~:$PATH;;
> > +	  PATH=~:/usr/local/bin:$PATH;;
> 
> I strongly suggest changing `~' to `$HOME'.  Bourne shell knows
> nothing about `~', even though bash expands it to $HOME.

What then are your plans to install a non-POSIX sh on gcc.gnu.org (the
only place this part of the code gets used)?  What shell exactly do you
have in mind that supports shell functions but not ~?

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]