@@ -205,15 +205,15 @@ def adjustFilesWithSecondary(rec, op, primary=None):
205
205
adjustFilesWithSecondary (d , op , primary )
206
206
207
207
208
- def stageFiles (pm , stageFunc = None , ignoreWritable = False , symFunc = True ):
208
+ def stageFiles (pm , stageFunc = None , ignoreWritable = False , symLink = True ):
209
209
# type: (PathMapper, Callable[..., Any], bool, bool) -> None
210
210
for f , p in pm .items ():
211
211
if not p .staged :
212
212
continue
213
213
if not os .path .exists (os .path .dirname (p .target )):
214
214
os .makedirs (os .path .dirname (p .target ), 0o0755 )
215
215
if p .type in ("File" , "Directory" ) and (os .path .exists (p .resolved )):
216
- if symFunc : # Use symlink func if allowed
216
+ if symLink : # Use symlink func if allowed
217
217
if onWindows ():
218
218
if p .type == "File" :
219
219
shutil .copy (p .resolved , p .target )
@@ -282,7 +282,7 @@ def moveIt(src, dst):
282
282
outfiles = [] # type: List[Dict[Text, Any]]
283
283
collectFilesAndDirs (outputObj , outfiles )
284
284
pm = PathMapper (outfiles , "" , outdir , separateDirs = False )
285
- stageFiles (pm , stageFunc = moveIt ,symFunc = False )
285
+ stageFiles (pm , stageFunc = moveIt ,symLink = False )
286
286
287
287
def _check_adjust (f ):
288
288
f ["location" ] = file_uri (pm .mapper (f ["location" ])[1 ])
0 commit comments