Skip to content

Commit

Permalink
sweep: DIRACGrid#7714 fix: check for the -l pilot option
Browse files Browse the repository at this point in the history
  • Loading branch information
atsareg authored and web-flow committed Jun 28, 2024
1 parent ab05e2d commit aa7472f
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 aa7472f

Please sign in to comment.