From: Don Armstrong Date: Sun, 24 Nov 2019 04:55:28 +0000 (-0800) Subject: the libraries are now in the lib directory X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=20eecdf58e4962a4d1a6042eacd0ed6abbd28e15 the libraries are now in the lib directory --- diff --git a/bin/debbugs-installsql b/bin/debbugs-installsql index 2cf023d..c17dd50 100755 --- a/bin/debbugs-installsql +++ b/bin/debbugs-installsql @@ -78,7 +78,7 @@ use vars qw($DEBUG); # non-absolute INC, don't do that. use FindBin; use if (-d $FindBin::Bin.'/../.git/' && $INC[0] =~ m#^/#), - lib => $FindBin::Bin.'/../'; + lib => $FindBin::Bin.'/../lib/'; use Debbugs::DB; use Debbugs::DB::Util qw(prepare_execute); diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql index 8222bbd..c28d66e 100755 --- a/bin/debbugs-loadsql +++ b/bin/debbugs-loadsql @@ -136,7 +136,7 @@ use vars qw($DEBUG); # non-absolute INC, don't do that. use FindBin; use if (-d $FindBin::Bin.'/../.git/' && $INC[0] =~ m#^/#), - lib => $FindBin::Bin.'/../'; + lib => $FindBin::Bin.'/../lib'; use Debbugs::Common (qw(checkpid lockpid get_hashname getparsedaddrs), qw(getbugcomponent make_list getsourcemaintainers), diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 088f43b..d7881a0 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -36,7 +36,7 @@ BEGIN { if ($INC[0] !~ /^\//) { } } -use if defined $debbugs_dir, lib => $debbugs_dir; +use if defined $debbugs_dir, lib => $debbugs_dir.'/lib/'; use Debbugs::Config qw(:globals :text :config); diff --git a/cgi/libravatar.cgi b/cgi/libravatar.cgi index 406f696..c280ac2 100755 --- a/cgi/libravatar.cgi +++ b/cgi/libravatar.cgi @@ -24,7 +24,7 @@ BEGIN { if ($INC[0] !~ /^\//) { } } -use if defined $debbugs_dir, lib => $debbugs_dir; +use if defined $debbugs_dir, lib => $debbugs_dir.'/lib/'; use Debbugs::Config qw(:config); use Debbugs::CGI qw(cgi_parameters); diff --git a/cgi/pkgindex.cgi b/cgi/pkgindex.cgi index 007e2cf..f0ac8d0 100755 --- a/cgi/pkgindex.cgi +++ b/cgi/pkgindex.cgi @@ -25,7 +25,7 @@ BEGIN { if ($INC[0] !~ /^\//) { } } -use if defined $debbugs_dir, lib => $debbugs_dir; +use if defined $debbugs_dir, lib => $debbugs_dir.'/lib/'; use Debbugs::Config qw(:globals :text :config); use CGI::Simple; diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index 3855928..345a649 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -40,7 +40,7 @@ BEGIN { undef $debbugs_dir; } } -use if defined $debbugs_dir, lib => $debbugs_dir; +use if defined $debbugs_dir, lib => $debbugs_dir.'/lib/'; binmode(STDOUT,':encoding(UTF-8)'); use POSIX qw(strftime nice); diff --git a/cgi/search.cgi b/cgi/search.cgi index be152cb..00d0393 100755 --- a/cgi/search.cgi +++ b/cgi/search.cgi @@ -32,7 +32,7 @@ BEGIN { if ($INC[0] !~ /^\//) { } } -use if defined $debbugs_dir, lib => $debbugs_dir; +use if defined $debbugs_dir, lib => $debbugs_dir.'/lib/'; use CGI::Simple; diff --git a/cgi/soap.cgi b/cgi/soap.cgi index 8c1ec3c..b403921 100755 --- a/cgi/soap.cgi +++ b/cgi/soap.cgi @@ -24,7 +24,7 @@ BEGIN { if ($INC[0] !~ /^\//) { } } -use if defined $debbugs_dir, lib => $debbugs_dir; +use if defined $debbugs_dir, lib => $debbugs_dir.'/lib/'; #use SOAP::Transport::HTTP; diff --git a/cgi/version.cgi b/cgi/version.cgi index cd50433..0ed22bc 100755 --- a/cgi/version.cgi +++ b/cgi/version.cgi @@ -32,7 +32,7 @@ BEGIN { if ($INC[0] !~ /^\//) { } } -use if defined $debbugs_dir, lib => $debbugs_dir; +use if defined $debbugs_dir, lib => $debbugs_dir.'/lib/'; use CGI::Simple;