Bug Fix - wrong .taskrc file in message

- When a .taskrc file is overridden (with rc:...) task still refers to
  the default file name in output.
This commit is contained in:
Paul Beckingham 2009-08-04 16:01:20 -06:00
parent 7b0edfdeba
commit af49ccf508
2 changed files with 6 additions and 2 deletions

View file

@ -5,7 +5,9 @@
+ Fixed bug #231 that broke the build on OpenBSD 32-bit due to a time_t + Fixed bug #231 that broke the build on OpenBSD 32-bit due to a time_t
and int collision (thanks to Pietro Cerutti). and int collision (thanks to Pietro Cerutti).
+ Fixed bug #241 that prevented bash's tab-completion of projects in Fedora + Fixed bug #241 that prevented bash's tab-completion of projects in Fedora
11 and likely anything using bash-4 (John Florian) 11 and likely anything using bash-4 (thanks to John Florian).
+ Fixed bug that displays the wrong .taskrc file name on override (thanks to
Federico Hernandez).
------ old releases ------------------------------ ------ old releases ------------------------------

View file

@ -362,7 +362,9 @@ void Context::loadCorrectConfigFile ()
confirm ("A configuration file could not be found in " // TODO i18n confirm ("A configuration file could not be found in " // TODO i18n
+ home + home
+ "\n\n" + "\n\n"
+ "Would you like a sample .taskrc created, so task can proceed?")) + "Would you like a sample "
+ rc
+ " created, so task can proceed?"))
{ {
config.createDefaultRC (rc, data); config.createDefaultRC (rc, data);
} }