Commit 097d27c
committed
run_qemu.sh: use the { main; exit "$?"; } trick to allow modifications
Wrap main around a new compound statement { } to force bash to read it
entirely before running it. This allows modifying the script while it's
running.
Credits to Simon Tatham
https://hachyderm.io/@simontatham/114511220670677410
Signed-off-by: Marc Herbert <marc.herbert@intel.com>1 parent 0ceb908 commit 097d27c
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
293 | 296 | | |
294 | 297 | | |
295 | 298 | | |
| |||
2055 | 2058 | | |
2056 | 2059 | | |
2057 | 2060 | | |
2058 | | - | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
0 commit comments