From 2976d1aaa92b227c35cdf4e54ead570aee0215f7 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 11 Jul 2022 14:24:19 +0200 Subject: [PATCH] fix for last commit --- iocsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocsh b/iocsh index dad2b53..dd43f1e 100755 --- a/iocsh +++ b/iocsh @@ -439,7 +439,7 @@ done if [ "$BASECODE" -ge 3141200 ] then - if [[ $(tr [A-Z] [a-z] <<< "$NOPVA") =~ ^(|0|n|no|f|false|off)$ && -x "$EPICS_BASE/bin/$EPICS_HOST_ARCH/softIocPVA$EXEPOSTFIX" ]] + if [[ $(tr A-Z a-z <<< "$NOPVA") =~ ^(0|n|no|f|false|off)?$ && -x "$EPICS_BASE/bin/$EPICS_HOST_ARCH/softIocPVA$EXEPOSTFIX" ]] then EXE=$EPICS_BASE/bin/$EPICS_HOST_ARCH/softIocPVA$EXEPOSTFIX ARGS="-D $EPICS_BASE/dbd/softIocPVA.dbd"