Commit 6dff1ab
committed
Smarter auto unlock build supporting CTRL-C
Catch all exists equally, success or any error case
including CTRL-C to unlock the build.
This way we do not have to manually catch all exits.
The lock should never get stuck because we do never build
twice in a row from one script.
Even ./loop_gdb.sh launches ./update.sh and as soon as it
is finished the build lock is freed.
If for whatever reason we need to build multiple times in
a row the manual `unlock_build` calls have
to be reintroduced.1 parent dabfa31 commit 6dff1ab
3 files changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
| |||
230 | 229 | | |
231 | 230 | | |
232 | 231 | | |
233 | | - | |
234 | 232 | | |
235 | 233 | | |
236 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | 228 | | |
230 | 229 | | |
231 | 230 | | |
232 | 231 | | |
233 | 232 | | |
234 | 233 | | |
235 | | - | |
236 | | - | |
237 | 234 | | |
238 | 235 | | |
239 | 236 | | |
| |||
0 commit comments