Commit b1382ac
committed
gh-148644: propagate PGO job exit code in PCbuild/build.bat
Replace the `if "%clean%"=="false" (...)` block with a `goto :RunPgoJob`
so the job runs outside any parenthesized block, where `%ERRORLEVEL%` is
not subject to eager evaluation.
Save the exit code before `call :Kill` resets it, then propagate it if
non-zero.1 parent 1f6a09f commit b1382ac
1 file changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 173 | + | |
180 | 174 | | |
181 | 175 | | |
182 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
| |||
0 commit comments