fix canonical component artifact identity
This commit is contained in:
+7
-2
@@ -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("");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user