X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/27ace0abeeae4d62caecfeb4926f76bf7f91b26b..0501174849ec7dbb3c32b338ce590e6b5625bf7d:/scripts/approve_system.pl?ds=sidebyside diff --git a/scripts/approve_system.pl b/scripts/approve_system.pl index 55424c9..330fad0 100755 --- 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;