From a34707c260bf6b92e8cef625d0882bfc2b83519c Mon Sep 17 00:00:00 2001 From: Nathan Baltzell Date: Fri, 1 Nov 2024 14:48:47 -0400 Subject: [PATCH] arg checker bugfix --- bin/run-clara | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run-clara b/bin/run-clara index 7973a39cb..72c94ed42 100755 --- a/bin/run-clara +++ b/bin/run-clara @@ -34,7 +34,7 @@ do p) prefix=$OPTARG ;; c) CLARA_HOME=$OPTARG ;; t) threads=$OPTARG && echo $threads | grep -q -E '^[0-9]+$' || error "-t must be an integer, threads" ;; - n) nevents="-e $OPTARG" && echo $nevents | grep -q -E '^-e [0-9]+$' || error "-n must be an integer, events" ;; + n) nevents="-e $OPTARG" && echo "$nevents" | grep -q -E '^-e [0-9]+$' || error "-n must be an integer, events" ;; m) merge=1 ;; h) echo -e "\n$usage" && echo -e $info && exit 0 ;; esac