From 3d716a9db214d28955a75326a56b3ffb3f7580e8 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 26 Jul 2024 10:07:54 +0300 Subject: [PATCH] proton: Don't try track .debug files if there's not tracking file. --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index f0e62970..b270d788 100755 --- a/proton +++ b/proton @@ -174,7 +174,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: