diff options
author | 2011-10-19 18:19:42 +0100 | |
---|---|---|
committer | 2011-10-19 18:19:42 +0100 | |
commit | 5d7d834f9c35adc9164e629b4780a5454de800ab (patch) | |
tree | 3c87ff637894c8d4dc65a308464e444d64480cb9 | |
parent | c704da4570607df09c9e82e07241da109e33aca1 (diff) | |
download | paludis-5d7d834f9c35adc9164e629b4780a5454de800ab.tar.gz paludis-5d7d834f9c35adc9164e629b4780a5454de800ab.tar.xz |
Make cave import pick the right ID
Fixes: ticket:1201
-rw-r--r-- | src/clients/cave/cmd_import.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_import.cc b/src/clients/cave/cmd_import.cc index 55a01cf8f..535937f6c 100644 --- a/src/clients/cave/cmd_import.cc +++ b/src/clients/cave/cmd_import.cc @@ -303,7 +303,7 @@ ImportCommand::run( resolve_cmdline.resolution_options.a_execute.set_specified(args::aos_specified); std::shared_ptr<Sequence<std::pair<std::string, std::string> > > targets(std::make_shared<Sequence<std::pair<std::string, std::string> >>()); - targets->push_back(std::make_pair(stringify((*ids->begin())->name()), "")); + targets->push_back(std::make_pair(stringify((*ids->begin())->uniquely_identifying_spec()), "")); std::shared_ptr<Sequence<std::string> > world_specs(std::make_shared<Sequence<std::string>>()); world_specs->push_back(stringify((*ids->begin())->name())); |