projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae9ed8
)
support: fix typo in mkusers
author
Philip Paeps
<philip@paeps.cx>
Wed, 5 Mar 2014 10:04:41 +0000
(11:04 +0100)
committer
Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>
Wed, 5 Mar 2014 18:41:44 +0000
(19:41 +0100)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/mkusers
patch
|
blob
|
history
diff --git
a/support/scripts/mkusers
b/support/scripts/mkusers
index a67356ab6d218b1f8eff090845664bad28d67aeb..90d1df7f746ca3f8bf4602002cd1499492b02c43 100755
(executable)
--- 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}"
}