Index: pgbackrest-release-1.00/bin/pgbackrest =================================================================== --- pgbackrest-release-1.00.orig/bin/pgbackrest +++ pgbackrest-release-1.00/bin/pgbackrest @@ -16,7 +16,6 @@ $SIG{__DIE__} = sub { Carp::confess @_ } use File::Basename qw(dirname); use Scalar::Util qw(blessed); -use lib dirname($0) . '/../lib'; use pgBackRest::Archive; use pgBackRest::Common::Exception; use pgBackRest::Common::Exit; Index: pgbackrest-release-1.00/lib/pgBackRest/Common/Exit.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Common/Exit.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Common/Exit.pm @@ -12,7 +12,6 @@ use Exporter qw(import); use File::Basename qw(dirname); use Scalar::Util qw(blessed); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Lock; use pgBackRest::Common::Log; Index: pgbackrest-release-1.00/lib/pgBackRest/Common/Lock.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Common/Lock.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Common/Lock.pm @@ -12,7 +12,6 @@ use Exporter qw(import); use Fcntl qw(:DEFAULT :flock); use File::Basename qw(dirname); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Log; use pgBackRest::Config::Config; Index: pgbackrest-release-1.00/lib/pgBackRest/Common/Log.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Common/Log.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Common/Log.pm @@ -15,7 +15,6 @@ use File::Basename qw(dirname); use Scalar::Util qw(blessed reftype); use Time::HiRes qw(gettimeofday usleep); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::String; Index: pgbackrest-release-1.00/lib/pgBackRest/Common/Wait.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Common/Wait.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Common/Wait.pm @@ -14,7 +14,6 @@ use File::Basename qw(dirname); use POSIX qw(ceil); use Time::HiRes qw(gettimeofday usleep); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Log; #################################################################################################################################### Index: pgbackrest-release-1.00/lib/pgBackRest/Config/Config.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Config/Config.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Config/Config.pm @@ -13,7 +13,6 @@ use Exporter qw(import); use File::Basename qw(dirname basename); use Getopt::Long qw(GetOptions); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Ini; use pgBackRest::Common::Log; Index: pgbackrest-release-1.00/lib/pgBackRest/Config/ConfigHelp.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Config/ConfigHelp.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Config/ConfigHelp.pm @@ -11,7 +11,6 @@ use Exporter qw(import); our @EXPORT = qw(); use File::Basename qw(dirname); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Ini; use pgBackRest::Common::Log; Index: pgbackrest-release-1.00/lib/pgBackRest/File.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/File.pm +++ pgbackrest-release-1.00/lib/pgBackRest/File.pm @@ -17,7 +17,6 @@ use File::stat; use IO::Handle; use Scalar::Util qw(blessed); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Log; use pgBackRest::Common::String; Index: pgbackrest-release-1.00/lib/pgBackRest/FileCommon.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/FileCommon.pm +++ pgbackrest-release-1.00/lib/pgBackRest/FileCommon.pm @@ -16,7 +16,6 @@ use File::Path qw(make_path); use File::stat; use IO::Handle; -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Log; Index: pgbackrest-release-1.00/lib/pgBackRest/Protocol/Common.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Protocol/Common.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Protocol/Common.pm @@ -12,7 +12,6 @@ use Exporter qw(import); use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END); use File::Basename qw(dirname); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Ini; use pgBackRest::Common::Log; Index: pgbackrest-release-1.00/lib/pgBackRest/Protocol/CommonMaster.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Protocol/CommonMaster.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Protocol/CommonMaster.pm @@ -11,7 +11,6 @@ use Carp qw(confess); use File::Basename qw(dirname); use Time::HiRes qw(gettimeofday); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Ini; use pgBackRest::Common::Log; Index: pgbackrest-release-1.00/lib/pgBackRest/Protocol/CommonMinion.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Protocol/CommonMinion.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Protocol/CommonMinion.pm @@ -11,7 +11,6 @@ use Carp qw(confess); use File::Basename qw(dirname); use Scalar::Util qw(blessed); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Ini; use pgBackRest::Common::Log; Index: pgbackrest-release-1.00/lib/pgBackRest/Protocol/IO.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Protocol/IO.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Protocol/IO.pm @@ -16,7 +16,6 @@ use POSIX qw(:sys_wait_h); use Symbol 'gensym'; use Time::HiRes qw(gettimeofday); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Log; use pgBackRest::Common::String; Index: pgbackrest-release-1.00/lib/pgBackRest/Protocol/RemoteMaster.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Protocol/RemoteMaster.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Protocol/RemoteMaster.pm @@ -10,7 +10,6 @@ use Carp qw(confess); use File::Basename qw(dirname); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Log; use pgBackRest::Config::Config; use pgBackRest::Protocol::CommonMaster; Index: pgbackrest-release-1.00/lib/pgBackRest/Protocol/RemoteMinion.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Protocol/RemoteMinion.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Protocol/RemoteMinion.pm @@ -10,7 +10,6 @@ use Carp qw(confess); use File::Basename qw(dirname); -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Exception; use pgBackRest::Common::Log; use pgBackRest::Archive; Index: pgbackrest-release-1.00/lib/pgBackRest/Protocol/ThreadGroup.pm =================================================================== --- pgbackrest-release-1.00.orig/lib/pgBackRest/Protocol/ThreadGroup.pm +++ pgbackrest-release-1.00/lib/pgBackRest/Protocol/ThreadGroup.pm @@ -12,7 +12,6 @@ use Exporter qw(import); our @EXPORT = qw(); use File::Basename; -use lib dirname($0) . '/../lib'; use pgBackRest::Common::Log; use pgBackRest::Common::Wait; use pgBackRest::Config::Config;