Skip to content
Snippets Groups Projects

WIP: Fixed version of the patches to disable running of LbLogin.sh when in lb-run subshell

Open Ben Couturier requested to merge LBCORE-1340 into master
2 files
+ 35
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -547,6 +547,10 @@ class SP2(EnvConfig.Script):
self.opts.actions.append(('set', ('CMTCONFIG', self.opts.platform)))
self.opts.actions.append(('set', ('BINARY_TAG', self.opts.platform)))
# Special environment variable to flag nested calls of lb-run
levels_of_lb_run = int(os.environ.get('LB_RUN_LEVEL', '0')) + 1
self.opts.actions.append(('set',
('LB_RUN_LEVEL', str(levels_of_lb_run))))
try:
super(SP2, self)._makeEnv()
except SystemExit as exc:
Loading