Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Juergen Ilse <juergen@...>
Subject: Re: /etc/profile
Date: Tue, 4 Dec 2001 00:55:03 +0100
Hello,

On Sun, Dec 02, 2001 at 05:52:12PM -0800, Zach Forrest wrote:
> I noticed some discussion in November about /etc/profile, but it seems
> to have trailed off. Are there any objections to adding the following?
> 
> if [ -e "${HOME}/.bash_profile" ]; then
>       . ${HOME}/.bash_profile
> fi

I think, it is not a good idea ...
If you start bash as login-shell, it should parse ${[HOME}/.bash_profile
if that file exists, so there should be no need for such a hack. If you
insert "bash-specific" commands to this file, you may get error-messages,
if you use some other shell that reads /etc/profile (for example ash, sash
or ksh). Please don't do such things like inserting something like source
~/.bash_profile in /etc/profile. /etc/profile should not be bash-specific
in any way.

ciao,
	Juergen Ilse					(ilse@...)
-- 
Wenn ich auch nur aus jedem 1000. Bug in einem M$ Produkt|Juergen Ilse
einen Tag trauern wollte, also da muesste ich 300 Jahre  |Internet POP Hannover
alt werden und wuerde mehrere Dutzend schwarze Anzuege   |Vahrenwalder Str. 205
aufbrauchen. (Detlef Bosau in dcoulm)                    |30165 Hannover

References:
/etc/profile
-- Zach Forrest
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: /etc/profile
Next by thread:
/etc/profile
Previous by date:
Re: Evolution Pilot Conduit
Next by date:
Re: Evolution 1.0 in Portage


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.