* [Buildroot] [PATCH] support: fix typo in mkusers
@ 2014-03-05 10:04 Philip Paeps
2014-03-05 17:08 ` Yann E. MORIN
2014-03-05 18:41 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Philip Paeps @ 2014-03-05 10:04 UTC (permalink / raw)
To: buildroot
This fixes the spurious "[: too many arguments" errors from mkusers.
Signed-off-by: Philip Paeps <philip@paeps.cx>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] support: fix typo in mkusers
2014-03-05 10:04 [Buildroot] [PATCH] support: fix typo in mkusers Philip Paeps
@ 2014-03-05 17:08 ` Yann E. MORIN
2014-03-05 18:41 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-03-05 17:08 UTC (permalink / raw)
To: buildroot
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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] support: fix typo in mkusers
2014-03-05 10:04 [Buildroot] [PATCH] support: fix typo in mkusers Philip Paeps
2014-03-05 17:08 ` Yann E. MORIN
@ 2014-03-05 18:41 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-03-05 18:41 UTC (permalink / raw)
To: buildroot
Dear Philip Paeps,
On Wed, 5 Mar 2014 11:04:41 +0100, Philip Paeps wrote:
> This fixes the spurious "[: too many arguments" errors from mkusers.
>
> Signed-off-by: Philip Paeps <philip@paeps.cx>
> ---
> support/scripts/mkusers | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-05 18:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 10:04 [Buildroot] [PATCH] support: fix typo in mkusers Philip Paeps
2014-03-05 17:08 ` Yann E. MORIN
2014-03-05 18:41 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.