unix: check current working directory for case-insensitive relative paths when no more parents

This commit is contained in:
goeiecool9999 2026-04-03 02:30:48 +02:00
parent a1d47c37b6
commit 72b5740ed4

View File

@ -8,7 +8,7 @@ fs::path findPathCI(const fs::path& path)
fs::path fName = path.filename();
fs::path parentPath = path.parent_path();
if (parentPath.empty())
return path;
parentPath = ".";
if (!fs::exists(parentPath))
{