From 2fb2a96f76be9e3e7fa11b16cabd7f591f49c247 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Tue, 9 Feb 2021 19:47:58 -0500 Subject: [PATCH] Also symlink files found in common trace dir --- src/PackCommand.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PackCommand.cc b/src/PackCommand.cc index a9fd0582170..062c8f5151f 100644 --- a/src/PackCommand.cc +++ b/src/PackCommand.cc @@ -462,7 +462,7 @@ static map compute_canonical_mmapped_files( auto it = pack_dir.mapped_files.find(p.first); if (it != pack_dir.mapped_files.end()) { LOG(debug) << "Found in common pack dir"; - p.second = symlink_into_trace(it->second, trace_dir, &name_index); + p.second = symlink_into_trace(fs::relative(it->second, trace_dir), trace_dir, &name_index); continue; }