The container used by build/run.sh doesn't necessarily have an entry in /etc/passwd for the host user's uid, and this missing data causes `whoami` to fail. Switch `whoami` to `id -un` to fall back to the uid if the /etc/passwd entry is missing. Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
7.2 KiB
7.2 KiB