From 02c977ac4dc31281238a3fda44482ce9196a0d48 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Mon, 30 Oct 2017 16:47:14 +0100
Subject: [PATCH] use relative path for use lib pragma

---
 bin/account-manager-client.pl | 3 +--
 bin/account-manager-web.pl    | 3 +--
 bin/create-database-code.pl   | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/bin/account-manager-client.pl b/bin/account-manager-client.pl
index 8248735..ce56065 100755
--- a/bin/account-manager-client.pl
+++ b/bin/account-manager-client.pl
@@ -9,8 +9,7 @@
 
 use strict;
 use utf8;
-use lib "/opt/testidp/IdPAccountManager/lib",;
-use lib "/opt/testidp/IdPAccountManager/conf";
+use lib qw(lib conf);
 
 use Getopt::Long qw(:config auto_help);
 use POSIX;
diff --git a/bin/account-manager-web.pl b/bin/account-manager-web.pl
index c6697e3..50080ae 100755
--- a/bin/account-manager-web.pl
+++ b/bin/account-manager-web.pl
@@ -9,8 +9,7 @@
 
 use strict vars;
 use utf8;
-use lib "/opt/testidp/IdPAccountManager/lib";
-use lib "/opt/testidp/IdPAccountManager/conf";
+use lib qw(lib conf);
 
 use CGI;
 use CGI::Cookie;
diff --git a/bin/create-database-code.pl b/bin/create-database-code.pl
index 1c8f265..6bec69c 100755
--- a/bin/create-database-code.pl
+++ b/bin/create-database-code.pl
@@ -1,8 +1,7 @@
 #!/usr/bin/perl
 ## Initialize Rose::DB code given the DB structure
 
-use lib "/opt/testidp/IdPAccountManager/lib";
-use lib "/opt/testidp/IdPAccountManager/conf";
+use lib qw(lib conf);
 
 use Rose::DB;
 use Rose::DB::Object::Loader;
-- 
GitLab