mirror of https://github.com/thesofproject/sof.git
scripts/docker-run.sh: fix wrong "id -n" command -> "id -u"
Fixes commit d09844ab98
("zephyr/docker-build.sh: match UID with
'adduser' instead of 'chgrp -R'")
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
b9dc0f1bb9
commit
dfc6b46e1d
|
@ -27,7 +27,7 @@ fi
|
|||
|
||||
# Not fatal, just a warning to allow other "creative" solutions.
|
||||
# TODO: fix this with 'adduser' like in zephyr/docker-build.sh
|
||||
test "$(id -n)" = 1001 ||
|
||||
test "$(id -u)" = 1001 ||
|
||||
>&2 printf "Warning: this script should be run as user ID 1001 to match the container\n"
|
||||
|
||||
set -x
|
||||
|
|
Loading…
Reference in New Issue