scripts: template_setup_posix: Fix Linux OS type detection

This commit updates the POSIX setup script to use `linux*` instead of
`linux-gnu*` to detect the Linux host OS type because some distros may
omit the `-gnu` part.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2022-11-04 21:03:51 +09:00
parent ad61394695
commit 48e1fda795
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ version=$(<sdk_version)
# Resolve host type
case ${OSTYPE} in
linux-gnu*)
linux*)
host="linux-${HOSTTYPE}"
;;
darwin*)