From e4640d7d2803b872babfa239c49afb5978b6686c Mon Sep 17 00:00:00 2001 From: Matthijs van der Wild Date: Wed, 9 Jul 2025 14:55:08 -0400 Subject: bugfix: set $PROGRAM before use --- pilot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pilot.sh') diff --git a/pilot.sh b/pilot.sh index 61e02af..1256739 100644 --- a/pilot.sh +++ b/pilot.sh @@ -27,6 +27,7 @@ eval set -- "$opts" RESTART="" SCRATCH="" BATCH_SYSTEM="slurm" +PROGRAM="${0##*/}" while true; do case "$1" in -c | --container) set_container "${2}"; shift 2 ;; @@ -41,7 +42,6 @@ while true; do esac done -PROGRAM="${0##*/}" # TODO: clean this up WORKFLOW="${PIPELINE}/workflows/${1}.cwl" -- cgit v1.2.3