summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Paeps <philip@paeps.cx>2014-03-05 10:04:41 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-05 18:41:44 (GMT)
commitb083c0ba4be5b9bb750d6ec670384449fe09a121 (patch)
treeef9e43b751855fab5b72b268a3a29b3e54532901
parent7ae9ed816372b0f33ab7e837cf82f42b2ba99dba (diff)
downloadbuildroot-b083c0ba4be5b9bb750d6ec670384449fe09a121.tar.gz
buildroot-b083c0ba4be5b9bb750d6ec670384449fe09a121.tar.bz2
support: fix typo in mkusers
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>
-rwxr-xr-xsupport/scripts/mkusers2
1 files changed, 1 insertions, 1 deletions
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}"
}