]> ruin.nu Git - ndwebbie.git/blobdiff - scripts/reset_hosts.pl
Add the dependencies file
[ndwebbie.git] / scripts / reset_hosts.pl
index a86ea3c6eb0959a63a32183984ecc346e7c6c2b0..040445b90b786fa9de102df85c3cba29a9f59dc1 100755 (executable)
@@ -6,7 +6,10 @@ use DBI;
 use DBD::Pg qw(:pg_types);
 
 use LWP::Simple;
-use lib qw{/var/www/ndawn/};
+
+use FindBin;
+use lib "$FindBin::Bin/../lib";
+
 use ND::DB;
 
 our $dbh = ND::DB::DB();