X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/60b6200d219bb8b32a1db1c371439bc120989c1a..c4c8edae0ea3ee408da2df4127b1982695c293ca:/bf-alerts.pl diff --git a/bf-alerts.pl b/bf-alerts.pl index 8c93210..c038f96 100755 --- a/bf-alerts.pl +++ b/bf-alerts.pl @@ -23,7 +23,9 @@ use vars qw($dbhost $dbname $dbuser $dbpass $dbport $default_host ); -require "$ENV{BFConfDir}/BuildFarmWeb.pl"; + +use FindBin qw($RealBin); +require "$RealBin/BuildFarmWeb.pl"; die "no dbname" unless $dbname; die "no dbuser" unless $dbuser;