Merge branch 'master' of buildfarm.exim.org
[buildfarm-server.git] / scripts / approve_system.pl
index 55424c9d8ff7381d706d9b7c25f4d3dca993f940..330fad027f253618ef5f8181d0b8e2828d2aed3c 100755 (executable)
@@ -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;