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
Merge branch 'master' of buildfarm.exim.org
[buildfarm-server.git]
/
scripts
/
approve_system.pl
diff --git
a/scripts/approve_system.pl
b/scripts/approve_system.pl
index 55424c9d8ff7381d706d9b7c25f4d3dca993f940..330fad027f253618ef5f8181d0b8e2828d2aed3c 100755
(executable)
--- a/
scripts/approve_system.pl
+++ b/
scripts/approve_system.pl
@@
-12,7
+12,9
@@
use vars qw($dbhost $dbname $dbuser $dbpass $dbport
$user_list_format
$default_host $mail_from
);
-require "$ENV{BFConfDir}/BuildFarmWeb.pl";
+
+use FindBin qw($RealBin);
+require "$RealBin/../BuildFarmWeb.pl";
die "no dbname" unless $dbname;
die "no dbuser" unless $dbuser;