Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox