Set EPICS_BASE for 'exec' user commands

(fixes #66)
This commit is contained in:
Ralph Lange
2022-01-02 16:52:55 +01:00
parent 3a1d04914f
commit 75d2911498

1
cue.py
View File

@@ -1114,6 +1114,7 @@ def doExec(args):
'exec user command with vcvars'
setup_for_build(args)
os.environ['MAKE'] = 'make'
os.environ['EPICS_BASE'] = places['EPICS_BASE']
fold_start('exec.command', 'Execute command {}'.format(args.cmd))
sp.check_call(' '.join(args.cmd), shell=True)
fold_end('exec.command', 'Execute command {}'.format(args.cmd))