From b5ee95691641ce5d217e91da58ce3cb16bb4a96a Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Sun, 23 May 2004 16:50:52 +0000 Subject: [PATCH] Allow application to be copied and run anywhere. The downside of this change is that the application *must* be executed from the directory in which the st.cmd file resides. --- src/makeBaseApp/top/vlinacBoot/ioc/st.cmd@Common | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/makeBaseApp/top/vlinacBoot/ioc/st.cmd@Common b/src/makeBaseApp/top/vlinacBoot/ioc/st.cmd@Common index aa1da06a3..ed3374c88 100644 --- a/src/makeBaseApp/top/vlinacBoot/ioc/st.cmd@Common +++ b/src/makeBaseApp/top/vlinacBoot/ioc/st.cmd@Common @@ -5,17 +5,14 @@ < envPaths -cd ${TOP} - ## Register all support components -dbLoadDatabase("dbd/_APPNAME_.dbd") +dbLoadDatabase("../../dbd/_APPNAME_.dbd") _APPNAME__registerRecordDeviceDriver(pdbbase) ## Load record instances -dbLoadRecords("db/xxMedmDemo.db","user=_USER_") -dbLoadRecords("db/xxVirtualLinac.db","user=_USER_") +dbLoadRecords("../../db/xxMedmDemo.db","user=_USER_") +dbLoadRecords("../../db/xxVirtualLinac.db","user=_USER_") -cd ${TOP}/iocBoot/${IOC} iocInit() ## Start any sequence programs