Francois Gouget : testbot: bin & web: Don' t hardcode the hostname of the WineTestBot web server.
Alexandre Julliard
julliard at winehq.org
Mon Aug 27 14:15:22 CDT 2012
Module: tools
Branch: master
Commit: b00f81700d74d2e573b237546423822c5ddd92bd
URL: http://source.winehq.org/git/tools.git/?a=commit;h=b00f81700d74d2e573b237546423822c5ddd92bd
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Aug 27 11:51:35 2012 +0200
testbot: bin & web: Don't hardcode the hostname of the WineTestBot web server.
---
testbot/bin/WineSendLog.pl | 2 +-
testbot/lib/WineTestBot/CGI/PageBase.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 51f5312..34d8378 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -430,7 +430,7 @@ Being a bot and all I'm not very good at pattern recognition, so I might be
wrong, but could you please double-check?
Full results can be found at
EOF
- print SENDMAIL "http://testbot.winehq.org/JobDetails.pl?Key=",
+ print SENDMAIL "http://$WebHostName/JobDetails.pl?Key=",
$Job->GetKey(), "\n\n";
print SENDMAIL "Your paranoid android.\n\n";
diff --git a/testbot/lib/WineTestBot/CGI/PageBase.pm b/testbot/lib/WineTestBot/CGI/PageBase.pm
index ff0b528..141833f 100644
--- a/testbot/lib/WineTestBot/CGI/PageBase.pm
+++ b/testbot/lib/WineTestBot/CGI/PageBase.pm
@@ -231,7 +231,7 @@ ${ProjectName} Test Bot
<li><a href='http://wiki.winehq.org'>Wiki</a></li>
<li><a href='http://appdb.winehq.org/'>AppDB</a></li>
<li><a href='http://bugs.winehq.org/'>Bugzilla</a></li>
- <li class='s'><a href='http://testbot.winehq.org/'>TestBot</a></li>
+ <li class='s'><a href='http://${WebHostName}/'>TestBot</a></li>
<li><a href='http://forums.winehq.org/'>Forums</a></li>
</ul>
</div>
More information about the wine-cvs
mailing list