proton: Don't try track .debug files if there's not tracking file.
This commit is contained in:
parent
5b99c12aed
commit
40b964bd30
1 changed files with 1 additions and 1 deletions
2
proton
2
proton
|
@ -173,7 +173,7 @@ def try_copy(src, dst, prefix=None, add_write_perm=True, copy_metadata=False, op
|
|||
|
||||
if file_exists(dst + '.debug', follow_symlinks=False):
|
||||
os.remove(dst + '.debug')
|
||||
elif link_debug:
|
||||
elif link_debug and track_file:
|
||||
track_file.write(os.path.relpath(dst + '.debug', prefix) + '\n')
|
||||
|
||||
if link_debug:
|
||||
|
|
Loading…
Reference in a new issue