Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LbScripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LHCb Core Software
LbScripts
Merge requests
!189
WIP: Fixed version of the patches to disable running of LbLogin.sh when in lb-run subshell
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
WIP: Fixed version of the patches to disable running of LbLogin.sh when in lb-run subshell
LBCORE-1340
into
master
Overview
0
Commits
1
Changes
2
Open
Ben Couturier
requested to merge
LBCORE-1340
into
master
7 years ago
Overview
0
Commits
1
Changes
2
Expand
Fixes
LBCORE-1340
and
LBCORE-764
.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
065ae8a4
1 commit,
7 years ago
2 files
+
35
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
LbConfiguration/python/LbConfiguration/SP2/script.py
+
4
−
0
Options
@@ -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