Alexandre Julliard : testbot: Load the configuration file from the testbot root directory.
Module: tools Branch: master Commit: c0b0689be9b714ab27275eabfadfbf0240a0c411 URL: http://source.winehq.org/git/tools.git/?a=commit;h=c0b0689be9b714ab27275eabf... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Oct 30 17:32:27 2012 +0100 testbot: Load the configuration file from the testbot root directory. --- testbot/lib/WineTestBot/Config.pm | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testbot/lib/WineTestBot/Config.pm b/testbot/lib/WineTestBot/Config.pm index aa9f3e2..71cf1c6 100644 --- a/testbot/lib/WineTestBot/Config.pm +++ b/testbot/lib/WineTestBot/Config.pm @@ -80,11 +80,11 @@ $JobArchiveDays = 0; if (!$::BuildEnv) { $::BuildEnv = 0; - eval 'require "WineTestBot/ConfigLocal.pl";'; + eval 'require "$::RootDir/ConfigLocal.pl";'; if ($@) { - print STDERR "Please create a valid lib/WineTestBot/ConfigLocal.pl, " . - "use lib/WineTestBot/ConfigLocalTemplate.pl as template\n"; + print STDERR "Please create a valid $::RootDir/ConfigLocal.pl, " . + "use $::RootDir/lib/WineTestBot/ConfigLocalTemplate.pl as template\n"; exit; }
participants (1)
-
Alexandre Julliard