Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Installer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
cms-analysis
General
DasAnalysisSystem
Installer
Commits
169576b7
Commit
169576b7
authored
8 months ago
by
Patrick Louis S Connor
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix/detect-lcg' into 'migration'
Fix detecting LCG See merge request
!40
parents
b20f07f0
4ffaee33
No related branches found
Branches containing commit
No related tags found
2 merge requests
!40
Fix detecting LCG
,
!34
Migration
Pipeline
#7976352
passed
8 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
detect_environment.py
+2
-2
2 additions, 2 deletions
detect_environment.py
with
2 additions
and
2 deletions
detect_environment.py
+
2
−
2
View file @
169576b7
...
@@ -11,9 +11,9 @@ def lcg():
...
@@ -11,9 +11,9 @@ def lcg():
# The CMAKE_PREFIX_PATH seems to point to the root of the environment.
# The CMAKE_PREFIX_PATH seems to point to the root of the environment.
location
=
os
.
environ
.
get
(
'
CMAKE_PREFIX_PATH
'
)
location
=
os
.
environ
.
get
(
'
CMAKE_PREFIX_PATH
'
)
setup
=
isfile
(
join
(
location
,
'
setup.sh
'
)
)
setup
=
join
(
location
,
'
setup.sh
'
)
if
not
isfile
(
setup
):
if
not
isfile
(
setup
):
raise
ValueError
(
'
Could not LCG setup.sh
'
)
raise
ValueError
(
'
Could not
find
LCG setup.sh
'
)
return
'
source
'
+
setup
return
'
source
'
+
setup
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment