Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Sep 26, 2024
1 parent deb0626 commit a496c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwarffs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ std::shared_ptr<DebugFile> haveDebugFileUncached(const std::string & buildId, bo

if (st.type == SourceAccessor::Type::tDirectory) {
for (auto & [name, type] : accessor->readDirectory(curPath))
doPath(curPath + name);
doPath(curPath / name);
}

else if (st.type == SourceAccessor::Type::tRegular && std::regex_match(curPath.abs(), debugFileRegex)) {
Expand Down

0 comments on commit a496c26

Please sign in to comment.