[Buildroot] [PATCH] package/bash: add /bin/bash to /etc/shells

Yann E. MORIN yann.morin.1998 at free.fr
Fri Jan 12 17:35:10 UTC 2018


Thomas, All,

On 2018-01-12 09:59 +0100, Thomas Petazzoni spake thusly:
> On Thu, 11 Jan 2018 18:13:57 +0100, Yann E. MORIN wrote:
> >     grep -E '^/bin/bash$' $(TARGET_DIR)/etc/shells >/dev/null 2>&1 \
> grep -q ?

-q is not POSIX. Redirecting is guaranteed to always work.

Regards,
Yann E. MORIN.

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