Message ID | 1413761457-25565-2-git-send-email-gustavo@zacarias.com.ar |
---|---|
State | Accepted |
Commit | 34853976f906a5d7fc4e1b23d64c43518863875a |
Headers | show |
Gustavo, All, On 2014-10-19 20:30 -0300, Gustavo Zacarias spake thusly: > Even if the main shell is bash /etc/profile is also parsed so it's > redundant. > > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Besides, it's really ugly the way it is currently done... :-( Regards, Yann E. MORIN. > --- > system/skeleton/root/.bash_profile | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/system/skeleton/root/.bash_profile b/system/skeleton/root/.bash_profile > index 27bf149..0ee04a3 100644 > --- a/system/skeleton/root/.bash_profile > +++ b/system/skeleton/root/.bash_profile > @@ -1,13 +1,5 @@ > # .bash_profile > > -export PATH=\ > -/bin:\ > -/sbin:\ > -/usr/bin:\ > -/usr/sbin:\ > -/usr/bin/X11:\ > -/usr/local/bin > - > umask 022 > > if [ -f ~/.bashrc ]; then > -- > 2.0.4 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
diff --git a/system/skeleton/root/.bash_profile b/system/skeleton/root/.bash_profile index 27bf149..0ee04a3 100644 --- a/system/skeleton/root/.bash_profile +++ b/system/skeleton/root/.bash_profile @@ -1,13 +1,5 @@ # .bash_profile -export PATH=\ -/bin:\ -/sbin:\ -/usr/bin:\ -/usr/sbin:\ -/usr/bin/X11:\ -/usr/local/bin - umask 022 if [ -f ~/.bashrc ]; then
Even if the main shell is bash /etc/profile is also parsed so it's redundant. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> --- system/skeleton/root/.bash_profile | 8 -------- 1 file changed, 8 deletions(-)