Commit b8b5ec9
committed
fix(lint): resolve shellcheck SC2312 in check-cross-compiler.sh
Capture get_os() output in a variable before using it in conditionals,
preventing the return value from being masked by [[ ]]. Reuse the
variable in the later case statement.1 parent b408180 commit b8b5ec9
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
88 | | - | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
0 commit comments