aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-09 17:29:45 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-09 17:29:45 +0000
commit82ee0b8e135138b0ca7373afc9d57a002d6ec86a (patch)
tree1200be734bdf3df3f21d6baa8dc72a6f60c6613f
parentafa4afc68ce1add06e169425f5be2933713c2419 (diff)
downloadpaludis-82ee0b8e135138b0ca7373afc9d57a002d6ec86a.tar.gz
paludis-82ee0b8e135138b0ca7373afc9d57a002d6ec86a.tar.xz
Get sync_options right
-rw-r--r--paludis/repositories/e/e_repository.cc2
-rw-r--r--paludis/repositories/unavailable/unavailable_repository.cc2
-rw-r--r--paludis/repositories/unwritten/unwritten_repository.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index 82a7ddf..dd99ab6 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -1482,7 +1482,7 @@ ERepository::repository_factory_create(
if (sync_options->end() != sync_options->find(suffix))
v = sync_options->find(suffix)->second + " ";
sync_options->erase(suffix);
- sync_options->insert(suffix, v);
+ sync_options->insert(suffix, v + *t);
}
std::string builddir(f("builddir"));
diff --git a/paludis/repositories/unavailable/unavailable_repository.cc b/paludis/repositories/unavailable/unavailable_repository.cc
index a54569f..d3ea7e8 100644
--- a/paludis/repositories/unavailable/unavailable_repository.cc
+++ b/paludis/repositories/unavailable/unavailable_repository.cc
@@ -361,7 +361,7 @@ UnavailableRepository::repository_factory_create(
if (sync_options->end() != sync_options->find(suffix))
v = sync_options->find(suffix)->second + " ";
sync_options->erase(suffix);
- sync_options->insert(suffix, v);
+ sync_options->insert(suffix, v + *t);
}
return std::make_shared<UnavailableRepository>(
diff --git a/paludis/repositories/unwritten/unwritten_repository.cc b/paludis/repositories/unwritten/unwritten_repository.cc
index efb2750..d6059c8 100644
--- a/paludis/repositories/unwritten/unwritten_repository.cc
+++ b/paludis/repositories/unwritten/unwritten_repository.cc
@@ -364,7 +364,7 @@ UnwrittenRepository::repository_factory_create(
if (sync_options->end() != sync_options->find(suffix))
v = sync_options->find(suffix)->second + " ";
sync_options->erase(suffix);
- sync_options->insert(suffix, v);
+ sync_options->insert(suffix, v + *t);
}
return std::make_shared<UnwrittenRepository>(