[Buildroot] [PATCH] support: fix typo in mkusers
Yann E. MORIN
yann.morin.1998 at free.fr
Wed Mar 5 17:08:49 UTC 2014
Philip, All,
On 2014-03-05 11:04 +0100, Philip Paeps spake thusly:
> This fixes the spurious "[: too many arguments" errors from mkusers.
>
> Signed-off-by: Philip Paeps <philip at paeps.cx>
Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Regards,
Yann E. MORIN.
> ---
> support/scripts/mkusers | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/support/scripts/mkusers b/support/scripts/mkusers
> index a67356a..90d1df7 100755
> --- a/support/scripts/mkusers
> +++ b/support/scripts/mkusers
> @@ -63,7 +63,7 @@ get_uid() {
> get_ugid() {
> local username="${1}"
>
> - awk -F:i -v username="${username}" \
> + awk -F: -v username="${username}" \
> '$1 == username { printf( "%d\n", $4 ); }' "${PASSWD}"
> }
>
> --
> 1.7.10.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