From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] support: fix typo in mkusers
Date: Wed, 5 Mar 2014 18:08:49 +0100 [thread overview]
Message-ID: <20140305170849.GB5066@free.fr> (raw)
In-Reply-To: <1394013881-34422-1-git-send-email-philip@paeps.cx>
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@paeps.cx>
Acked-by: "Yann E. MORIN" <yann.morin.1998@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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-03-05 17:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 10:04 [Buildroot] [PATCH] support: fix typo in mkusers Philip Paeps
2014-03-05 17:08 ` Yann E. MORIN [this message]
2014-03-05 18:41 ` Thomas Petazzoni
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=20140305170849.GB5066@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