Skip to content

Commit

Permalink
Merge pull request #7716 from DIRACGridBot/cherry-pick-2-4f1fb25c9-in…
Browse files Browse the repository at this point in the history
…tegration

[sweep:integration] fix: check for the -l pilot option
  • Loading branch information
fstagni authored Jun 28, 2024
2 parents ab05e2d + aa7472f commit 8726697
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,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 8726697

Please sign in to comment.