sh: Read .profile from the home directory (or / if HOME is not set).
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 20:42:26 +0000 (13:42 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 20:49:24 +0000 (13:49 -0700)
commit24fd06d29173f5a899b47eea7bbe7b75862f8cf5
tree9d62f35e55cd2067aa57ee27584925e19f6e9ef2
parentccbebcd9aeb9c9d465a3e1204596cc6d0e145278
sh: Read .profile from the home directory (or / if HOME is not set).

In most cases, login shells are started from the home directory, but not
in all, such as xterm -ls.

Obtained-from:   FreeBSD 223005
bin/sh/main.c