[Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH
Yann E. MORIN
yann.morin.1998 at free.fr
Tue Oct 21 17:20:57 UTC 2014
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 at zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998 at 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 at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list