Skip to content
Commit 2257e36a authored by Andi Shyti's avatar Andi Shyti Committed by Peter Korsgaard
Browse files

cubieboard: mkcubiecard: use the right command for checking user privilege



On some shell environments the EUID variable, which checks the
user id, is not defined. Use `id -u` instead.

This patch mutes the following error:

./board/cubietech/cubieboard/mkcubiecard.sh: 31: [: -ne: unexpected operator

Signed-off-by: default avatarAndi Shyti <andi@etezian.org>
Reviewed-by: default avatarArvid Picciani <aep@exys.org>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent a34cad76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment