Skip to content

Commit

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

[sweep:integration] fix: support `file:/path/to/pilot_files` as a location for the pilot files
  • Loading branch information
fstagni committed Apr 16, 2024
2 parents 8fd8f25 + c0b5fac commit 628ec3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def pilotWrapperScript(
random.shuffle(location)
# we try from the available locations
locs = [os.path.join('https://', loc) for loc in location]
locs = [os.path.join('https://', loc) if not loc.startswith(('file:', 'https:')) else loc for loc in location]
locations = locs + [os.path.join(loc, 'pilot') for loc in locs]
# adding also the cvmfs locations
locations += %(CVMFS_locs)s
Expand Down

0 comments on commit 628ec3e

Please sign in to comment.