aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-09-11 17:00:19 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-09-11 17:00:19 +0000
commit20e862be331f54aff43e25916dfca6aaf1916dbe (patch)
tree49d38fe7dc9956ad0af65f4d160affa7b40b1c42
parent78e37be7e2d19293c861fcfb12fe821fe99a0dc6 (diff)
downloadpaludis-20e862be331f54aff43e25916dfca6aaf1916dbe.tar.gz
paludis-20e862be331f54aff43e25916dfca6aaf1916dbe.tar.xz
Preserve --continue-on-failure over an exec.
-rw-r--r--src/clients/paludis/paludis.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/clients/paludis/paludis.cc b/src/clients/paludis/paludis.cc
index 6e43c19..23d7620 100644
--- a/src/clients/paludis/paludis.cc
+++ b/src/clients/paludis/paludis.cc
@@ -341,6 +341,10 @@ main(int argc, char *argv[])
if (CommandLine::get_instance()->a_no_safe_resume.specified())
paludis_command.append(" --" + CommandLine::get_instance()->a_no_safe_resume.long_name());
+ if (CommandLine::get_instance()->a_continue_on_faillure.specified())
+ paludis_command.append(" --" + CommandLine::get_instance()->a_continue_on_faillure.long_name() + " "
+ + CommandLine::get_instance()->a_continue_on_faillure.argument());
+
tr1::shared_ptr<Environment> env(EnvironmentMaker::get_instance()->make_from_spec(env_spec));
env->set_paludis_command(paludis_command);