fail early if EPICS base is not found

This commit is contained in:
2024-03-21 16:43:27 +01:00
parent ccff6061c1
commit 9ac14f3146

View File

@@ -35,7 +35,8 @@ putenv "EPICS_TS_FORCE_NTPTIME=YES"
EPICS_APP = PVA ? "softIocPVA.munch" : "softIoc.munch"
sprintf STRINGBUFFER, "/epics/base-%s/bin/%s/%s", EPICS+1, EPICS_HOST_ARCH, EPICS_APP
printf "loading %s\n",STRINGBUFFER
ld 0, 0, STRINGBUFFER
sprintf STRINGBUFFER,"%s",ld(0,0,STRINGBUFFER)?"":"shellScriptAbort"
execute STRINGBUFFER
# Setup Time (must be set after loading iocCoreLibrary.munch)
# 2023: