Alexandre Julliard : testbot: Load the configuration file from the testbot root directory.

Alexandre Julliard julliard at winehq.org
Wed Oct 31 13:40:49 CDT 2012


Module: tools
Branch: master
Commit: c0b0689be9b714ab27275eabfadfbf0240a0c411
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=c0b0689be9b714ab27275eabfadfbf0240a0c411

Author: Alexandre Julliard <julliard at 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;
   }
 




More information about the wine-cvs mailing list