nasg/run

15 lines
278 B
Text
Raw Permalink Normal View History

2018-07-23 11:04:13 +01:00
#!/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