[Buildroot] [PATCH 2/3] package/bash: add option to keep or remove loadable examples
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Apr 24 09:25:25 UTC 2021
Hello,
On Sat, 24 Apr 2021 09:47:31 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
> > whoami is /usr/bin/whoami
> > root
> > whoami is a shell builtin
> > root
>
> I was not sure what you meant with those examples, so I've rewritten
> that part with a capture of a session enabling and disabling whoami
> as a shell builtin.
Gah, the commands went away, as they were prefix with my "#" shell
prompt :-/
This whole thing should have been:
# type whoami
whoami is /usr/bin/whoami
# whoami
root
# enable -f /usr/lib/bash/whoami whoami
# type whoami
whoami is a shell builtin
# whoami
root
Except that all lines starting with a # got eaten by Git :-/
Sorry about that, and thanks for applying the patches.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list