On 11/02/2014 01:17 PM, Bruce Dubbs wrote:
Richard wrote:
Thanks for your help. I hope it is ok to expand
some more on this topic.
I do not have an /etc/shells file, and I am trying to
build firefox in an xterm (but not in a chroot
environment). Nevertheless, if I type:
echo "$SHELL" or: echo "$XTERM_SHELL",
I get the same result: /bin/bash,
which is where the bash program is located.
Have you exported SHELL or is it a local variable? Try
$ env|grep SHELL
-- Bruce
before startx:
------------------------
root:~# env | grep SHELL
SHELL=/bin/bash
-----------------------
after startx:
------------------------
root:~# env | grep SHELL
XTERM_SHELL=/bin/bash
but:
root:~# echo "$SHELL"
/bin/bash
----------------------
Richard
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page