Skip to content

Commit

Permalink
Merge pull request #7714 from atsareg/fix-pilot
Browse files Browse the repository at this point in the history
[8.0] fix: check for the -l pilot option
  • Loading branch information
fstagni authored Jun 28, 2024
2 parents 3012cd5 + 4cfa05b commit 4f1fb25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def pilotWrapperScript(
# - file:/cvmfs/somewhere/lhcbdirac/pilot
# - file:/cvmfs/elsewhere/lhcbdirac/pilot
project = "dirac"
if "-l" in pilotOptions:
if " -l " in pilotOptions:
project = pilotOptions.split(" ")[pilotOptions.split(" ").index("-l") + 1].lower() + "dirac"
CVMFS_locs = "[" + ",".join('"file:' + os.path.join(loc, project, 'pilot"') for loc in CVMFS_locations) + "]"

Expand Down

0 comments on commit 4f1fb25

Please sign in to comment.