From 062af47fc951de7de2b22a6f830bc37d88783740 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 7 May 2019 17:35:19 +0200 Subject: [PATCH] allow to set EPICS version in a file, either ./EPICSVERSION or ./cfg/EPICSVERSION --- iocsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iocsh b/iocsh index 1ee6186..b408c9b 100755 --- a/iocsh +++ b/iocsh @@ -64,6 +64,11 @@ then fi fi +if read BASE < EPICSVERSION || read BASE < cfg/EPICSVERSION +then + unset EPICS_BASE +fi 2> /dev/null + while true do case $1 in