Assuming that you meant

cat build-package-name.txt | su

this makes bash read neither /etc/bash_profile, nor ~/.bash_profile. This is 
the case even if su is invoked with -. With package
users, I need bash to read ~/.bash_profile before I execute the instructions in 
build-package-name.txt.

I did mean with cat.  Just throw a

'source ~/.bash_profile' just after the root password.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to