14 lines
278 B
Bash
Executable file
14 lines
278 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
if [ ! -f 'keys.py' ]; then
|
|
echo "missing keys.py file; please copy keys.dist.py to keys.py and fill in the needed values inside"
|
|
exit 1
|
|
fi
|
|
|
|
python3 nasg.py "$@"
|
|
if [ -f 'post-run.sh' ]; then
|
|
bash 'post-run.sh'
|
|
fi
|