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
fix script
[buildfarm-server.git]
/
scripts
/
show_passwords.pl
diff --git
a/scripts/show_passwords.pl
b/scripts/show_passwords.pl
index 687896f3ad19cb430f497805ccaf5b664ac0e053..073d2482e73389273a6fc6ae607c6736e10712c4 100755
(executable)
--- 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;