forked from epics_driver_modules/require
provide some global variables as environment too (for autoSR)
This commit is contained in:
@@ -45,10 +45,14 @@ putenv "EPICS_IOC_LOG_PORT=6500"
|
||||
# create some path variables
|
||||
HOME=malloc(80)
|
||||
sprintf HOME, "/ioc/%s", IOC
|
||||
sprintf STRINGBUFFER, "HOME=%s", HOME
|
||||
putenv STRINGBUFFER
|
||||
cd HOME
|
||||
|
||||
CFG=malloc(80)
|
||||
sprintf CFG, "%s/cfg", HOME
|
||||
sprintf STRINGBUFFER, "CFG=%s", CFG
|
||||
putenv STRINGBUFFER
|
||||
|
||||
STREAM_PROTOCOL_DIR=malloc(80)
|
||||
sprintf STREAM_PROTOCOL_DIR, "%s/cfg", HOME
|
||||
|
||||
Reference in New Issue
Block a user