From 75d2911498e62e1a2614981ab170c505b28270e2 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Sun, 2 Jan 2022 16:52:55 +0100 Subject: [PATCH] Set EPICS_BASE for 'exec' user commands (fixes #66) --- cue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cue.py b/cue.py index 998b084..474b170 100644 --- a/cue.py +++ b/cue.py @@ -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))