Commit e306403
Fix hwloc patch application on windows
Windows `cmd.exe` doesn't have a `true` command, `(exit 0)` will do the
same thing but it will work on both linux and windows.
This issue only shows up on Windows and not on a first build, since when
building the first time the patch applies cleanly so the `||` branch is
not taken, but then when rebuilding the patch doens't apply and the
command errors out in the `||` branch.1 parent 99c9bfc commit e306403
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
0 commit comments