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:
parent
ad61394695
commit
48e1fda795
|
@ -166,7 +166,7 @@ version=$(<sdk_version)
|
|||
|
||||
# Resolve host type
|
||||
case ${OSTYPE} in
|
||||
linux-gnu*)
|
||||
linux*)
|
||||
host="linux-${HOSTTYPE}"
|
||||
;;
|
||||
darwin*)
|
||||
|
|
Loading…
Reference in New Issue