From 3bab37d8124cca63999c22a03dfd6f29f2ceb7f6 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 31 Dec 2010 00:11:22 +0100 Subject: Use FindBin to find library path --- fripost-adduser.pl | 3 +++ fripost-mkpass.pl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/fripost-adduser.pl b/fripost-adduser.pl index b0f107e..4cf2040 100755 --- a/fripost-adduser.pl +++ b/fripost-adduser.pl @@ -22,6 +22,9 @@ Necessary steps to add a user to the system: our $VERSION = '0.01'; +use FindBin qw($Bin); +use lib "$Bin/lib"; + use Data::Dumper; use DateTime; use Email::Valid; diff --git a/fripost-mkpass.pl b/fripost-mkpass.pl index 4740f5b..3b0c9f7 100755 --- a/fripost-mkpass.pl +++ b/fripost-mkpass.pl @@ -10,6 +10,9 @@ fripost-mkpass.pl - Create a random new password =cut +use FindBin qw($Bin); +use lib "$Bin/lib"; + our $VERSION = '0.01'; use Fripost::Password; -- cgit v1.2.3