X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/a3ab3a38e416ffb9d0e9d2069bba209d283a07cb..1d119e20e878ca1f1e8d0cc19c0892b6766c3a5d:/scripts/show_passwords.pl?ds=inline diff --git a/scripts/show_passwords.pl b/scripts/show_passwords.pl index 687896f..073d248 100755 --- a/scripts/show_passwords.pl +++ b/scripts/show_passwords.pl @@ -8,7 +8,9 @@ use Data::Dumper; use vars qw($dbhost $dbname $dbuser $dbpass $dbport $user_list_format ); -require "$ENV{BFConfDir}/BuildFarmWeb.pl"; + +use FindBin qw($RealBin); +require "$RealBin/../BuildFarmWeb.pl"; die "no dbname" unless $dbname; die "no dbuser" unless $dbuser;