git://git.exim.org
/
buildfarm-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Database: do not mess with databas for ncrecent_failures view
[buildfarm-server.git]
/
cgi-bin
/
upgrade.pl
diff --git
a/cgi-bin/upgrade.pl
b/cgi-bin/upgrade.pl
index a34f4ed12b0caabbce378b0b461f453a19ebe0b1..e16fe8e720c5328bc0379551e469503066f2e612 100755
(executable)
--- a/
cgi-bin/upgrade.pl
+++ b/
cgi-bin/upgrade.pl
@@
-33,7
+33,8
@@
my $content = "animal=$animal\&ts=$ts";
$content .= "\&new_os=$os_version" if $os_version;
$content .= "\&new_compiler=$compiler_version" if $compiler_version;
$content .= "\&new_os=$os_version" if $os_version;
$content .= "\&new_compiler=$compiler_version" if $compiler_version;
-require "$ENV{BFConfDir}/BuildFarmWeb.pl";
+use FindBin qw($RealBin);
+require "$RealBin/../BuildFarmWeb.pl";
die "no dbname" unless $dbname;
die "no dbuser" unless $dbuser;
die "no dbname" unless $dbname;
die "no dbuser" unless $dbuser;
@@
-152,6
+153,3
@@
$db->disconnect;
print "Content-Type: text/plain\n\n";
print "request was on:\n$content\n";
print "Content-Type: text/plain\n\n";
print "request was on:\n$content\n";
-
-
-