fix canonical component artifact identity

This commit is contained in:
udo
2026-07-14 21:32:29 +00:00
parent b6c2b8b08d
commit d33d5e80ba
4 changed files with 20 additions and 3 deletions
+7 -2
View File
@@ -1455,8 +1455,13 @@ private:
candidates.push_back(base + "components/" + normalize_component_path(file_name));
}
for(auto& candidate : candidates)
if(file_exists_host(candidate))
return(candidate);
{
if(!file_exists_host(candidate))
continue;
char resolved[PATH_MAX];
if(realpath(candidate.c_str(), resolved))
return(String(resolved));
}
}
return("");
}