ignore existing symlinks
This commit is contained in:
parent
90cb5d2e0f
commit
54add2bd4e
1 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,10 @@ for line in iter(result.stdout.readline, ""):
|
|||
# if we have a gcroot, add it to it
|
||||
if gcroots is not None:
|
||||
drvBasename = os.path.basename(data["drvPath"])
|
||||
os.symlink(data["drvPath"], os.path.join(gcroots, drvBasename))
|
||||
try:
|
||||
os.symlink(data["drvPath"], os.path.join(gcroots, drvBasename))
|
||||
except:
|
||||
pass
|
||||
# Now we are done with this job, we can tell hydra about it
|
||||
print(line)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue