On Fri, Mar 14, 2014 at 12:21 PM, Dennis Cote <denn...@harding.ca> wrote:
> On Friday, March 14, 2014 9:56:45 AM UTC-6, RobertCNelson wrote:
>>
>> It works if i add:
>>
>> # set PATH so it includes user's private bin if it exists
>> if [ -d "$HOME/bin" ] ; then
>>     PATH="$HOME/bin:$PATH"
>> fi
>>
>> into .bashrc
>>
>> If there is no objections i'll probably set that up by default..
>>
>
> Will this add the user's bin directory to the path twice when using a serial
> console since .bashrc is sourced from the existing .profile?

Yeap it does..

debian@beaglebone:~$ echo $PATH
/home/debian/bin:/home/debian/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

What gets sourced first? i can patch it to check..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to