Skip to content

Commit

Permalink
Bring pack ID handling to common format (#667) (#1081) (#669) (#1084)
Browse files Browse the repository at this point in the history
Bugfix

Co-authored-by: Evgueni Driouk <[email protected]>
  • Loading branch information
grasci-arm and Evgueni Driouk authored Aug 7, 2023
1 parent f367407 commit 7dd8c0f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tools/projmgr/src/ProjMgrWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1316,10 +1316,7 @@ RteComponent* ProjMgrWorker::ProcessComponent(ContextItem& context, ComponentIte
ci.AddAttribute("condition", item.condition);
auto ti = ci.EnsureTargetInfo(context.rteActiveTarget->GetName());
ti->SetVersionMatchMode(VersionCmp::MatchMode::ENFORCED_VERSION);
string packId = item.fromPack;
RteUtils::ReplaceAll(packId,"::", ".");
RteUtils::ReplaceAll(packId, "@", ".");
RtePackageInstanceInfo packInfo(nullptr, packId);
RtePackageInstanceInfo packInfo(nullptr, item.fromPack);
ci.SetPackageAttributes(packInfo);
list<RteComponent*> components;
RteComponent* enforced = context.rteActiveTarget->GetFilteredModel()->FindComponents(ci, components);
Expand Down

0 comments on commit 7dd8c0f

Please sign in to comment.