[wplug] Installation directories
mdanish at andrew.cmu.edu
mdanish at andrew.cmu.edu
Thu Aug 9 12:46:05 EDT 2001
On Thu, Aug 09, 2001 at 07:09:30AM -0400, Weber, Larry A wrote:
> Sorry RH does not have an etc/profile directory. There is an /etc/bashrc
> file but it does not currently set PATH. There is a csh.login file that
> sets the path but RH should be running bash and the directory order that it
> sets is not the same as in PATH.
Read the man page 'bash(1)'. /etc/profile (the file) is a bashism,
not a distroism. Unless they compiled it differently...
``When bash is invoked as an interactive login shell, or as
a non-interactive shell with the --login option, it first
reads and executes commands from the file /etc/profile, if
that file exists. After reading that file, it looks for
~/.bash_profile, ~/.bash_login, and ~/.profile, in that
order, and reads and executes commands from the first one
that exists and is readable. The --noprofile option may
be used when the shell is started to inhibit this
behavior.''
>
> The PATH looks as if it is probably getting set at least twice. That would
> explain the repeated directories.
--
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Matthew Danish email: mdanish at andrew.cmu.edu ;;
;; OpenPGP public key available from: 'finger mrd at db.debian.org' ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
More information about the wplug
mailing list