Don't resolve symlinks in base dir path

This commit is contained in:
Matéo Duparc 2024-04-28 13:14:01 +02:00 committed by Sebastian Messmer
parent ff2d94f3e4
commit f90a784af5

View File

@ -44,7 +44,7 @@ void _save(const bf::path &metadataFilePath, const ptree& data) {
}
string jsonPathForBasedir(const bf::path &basedir) {
return bf::canonical(basedir).string() + ".filesystemId";
return bf::absolute(basedir).lexically_normal().string() + ".filesystemId";
}
}