Skip to content

Commit de2b55b

Browse files
committed
Fix Windows smoke 12a: normalize MSYS2 uname to 'windows' for archive name
1 parent d8f168c commit de2b55b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/smoke-test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,10 @@ DL_DIR=$(mktemp -d)
11391139

11401140
# Detect platform for archive name
11411141
DL_OS=$(uname -s | tr 'A-Z' 'a-z')
1142+
# Normalize MSYS2/MinGW to "windows"
1143+
case "$DL_OS" in
1144+
mingw*|msys*) DL_OS="windows" ;;
1145+
esac
11421146
DL_ARCH=$(uname -m)
11431147
case "$DL_ARCH" in
11441148
aarch64) DL_ARCH="arm64" ;;

0 commit comments

Comments
 (0)