aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-29 19:12:18 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-29 19:12:18 +0100
commita2994d4f2f7ae691eca51e9e0e4d1ae11aeabcb1 (patch)
treeb20c96fe6b922c114d12223e0221613389ad56e0
parentdce369ab0bb838a61f7e1df4616a5ef3b051889b (diff)
downloadpaludis-a2994d4f2f7ae691eca51e9e0e4d1ae11aeabcb1.tar.gz
paludis-a2994d4f2f7ae691eca51e9e0e4d1ae11aeabcb1.tar.xz
Update world when using resume
Fixes: ticket:900
-rw-r--r--src/clients/cave/cmd_resume.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_resume.cc b/src/clients/cave/cmd_resume.cc
index 571e8ee..0b8cded 100644
--- a/src/clients/cave/cmd_resume.cc
+++ b/src/clients/cave/cmd_resume.cc
@@ -142,6 +142,14 @@ namespace
p != p_end ; ++p)
args->push_back(*p);
+ for (Sequence<std::string>::ConstIterator p(data->world_specs()->begin()),
+ p_end(data->world_specs()->end()) ;
+ p != p_end ; ++p)
+ {
+ args->push_back("--world-specs");
+ args->push_back(*p);
+ }
+
if (data->preserve_world())
args->push_back("--preserve-world");