From 0c8a72e26eb7d3a92da5253a2b2b9310c4ad2ec2 Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Mon, 12 Aug 2019 10:46:46 +0100 Subject: [PATCH] adding an extra step to run to execut post-run.sh in case the file is present; it's for arbitrary or one-off things that shouldn't really be part of NASG --- run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run b/run index 52dd871..050e9b6 100755 --- a/run +++ b/run @@ -9,3 +9,6 @@ if [ ! -f 'keys.py' ]; then fi python3 nasg.py "$@" +if [ -f 'post-run.sh' ]; then + bash 'post-run.sh' +fi