Skip to content
Snippets Groups Projects
Commit 169576b7 authored by Patrick Louis S Connor's avatar Patrick Louis S Connor
Browse files

Merge branch 'bugfix/detect-lcg' into 'migration'

Fix detecting LCG

See merge request !40
parents b20f07f0 4ffaee33
No related branches found
No related tags found
2 merge requests!40Fix detecting LCG,!34Migration
Pipeline #7976352 passed
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment