Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH
Date: Tue, 21 Oct 2014 19:20:57 +0200	[thread overview]
Message-ID: <20141021172057.GC30778@free.fr> (raw)
In-Reply-To: <1413761457-25565-2-git-send-email-gustavo@zacarias.com.ar>

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 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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-10-21 17:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-19 23:30 [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Gustavo Zacarias
2014-10-19 23:30 ` [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH Gustavo Zacarias
2014-10-21 17:20   ` Yann E. MORIN [this message]
2014-10-19 23:30 ` [Buildroot] [PATCH 3/3] skeleton/etc/profile: drop aliases Gustavo Zacarias
2014-10-21 17:21   ` Yann E. MORIN
2014-10-20 19:11 ` [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Arnout Vandecappelle
2014-10-21 17:20 ` Yann E. MORIN
2014-10-25 16:40 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141021172057.GC30778@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox