Just ran into first issue from using the portable /bin/sh rather than a modern shell: https://stackoverflow.com/questions/15744421/read-command-doesnt-wait-for-input Turn on errexit everywhere.
6 lines
92 B
Bash
Executable File
6 lines
92 B
Bash
Executable File
#!/bin/sh
|
|
# Run SubX VM, first compiling if necessary.
|
|
set -e
|
|
|
|
./build && ./subx_bin "$@"
|