Skip to content

Commit 48e1fda

Browse files
committed
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>
1 parent ad61394 commit 48e1fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/template_setup_posix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ version=$(<sdk_version)
166166

167167
# Resolve host type
168168
case ${OSTYPE} in
169-
linux-gnu*)
169+
linux*)
170170
host="linux-${HOSTTYPE}"
171171
;;
172172
darwin*)

0 commit comments

Comments
 (0)