[issue7742] please avoid 'which' in Modules/ld_so_aix
Sridhar Ratnakumar
report at bugs.python.org
Mon Jul 26 18:36:30 CEST 2010
Sridhar Ratnakumar <sridharr at activestate.com> added the comment:
On 2010-07-22, at 11:56 AM, Stefan Krah wrote:
>
> Stefan Krah <stefan-usenet at bytereef.org> added the comment:
>
> I'm not sure this should be changed:
>
> 1) Why is .cshrc sourced? It should only get sourced for a login
> shell.
/usr/bin/which is a csh script on our AIX machine too:
bash-2.04$ head -n 5 /usr/bin/which
#!/usr/bin/csh -f
set prompt = "% "
if ( -f ~/.cshrc) then
source ~/.cshrc
endif
> 2) If the user sets a PATH that excludes the compiler, then `which`
> will also not find the compiler on other systems (like Linux).
> Why would anyone set a PATH that excludes the compiler?
>
>
> Sridhar, has this ever been a problem for you on AIX?
Not at all, we use bash as the default shell.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7742>
_______________________________________
More information about the Python-bugs-list
mailing list