X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=scripts%2Fndrank.pl;h=acb1405d3a282ede1bcd1adf73e1746b1dcbdebf;hb=8324b5418795fb16c583fea1c84237c195095579;hp=e5d152c936f64208a2e78e396b5586ed0d189ff4;hpb=13e3df1e4218c19325ef732a4a2cb2b7db79a69c;p=ndwebbie.git diff --git a/scripts/ndrank.pl b/scripts/ndrank.pl index e5d152c..acb1405 100755 --- a/scripts/ndrank.pl +++ b/scripts/ndrank.pl @@ -27,7 +27,9 @@ use DBD::Pg qw(:pg_types); use LWP::Simple; -use lib qw{/var/www/ndawn/lib/}; +use FindBin; +use lib "$FindBin::Bin/../lib"; + use ND::DB; our $dbh = ND::DB::DB();