[TestBot] bin & web: Don't hardcode the hostname of the WineTestBot web server.
Francois Gouget
fgouget at codeweavers.com
Mon Aug 27 04:51:35 CDT 2012
This fixes development/test environments.
---
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>
--
1.7.10.4
More information about the wine-patches
mailing list