Skip to content

Commit

Permalink
Also symlink files found in common trace dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno authored and maleadt committed Dec 13, 2022
1 parent 17e0471 commit 2fb2a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PackCommand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ static map<string, string> 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;
}

Expand Down

0 comments on commit 2fb2a96

Please sign in to comment.