Fix searchpath for modern Perl for genbki.pl
authorAndrew Dunstan <[email protected]>
Tue, 5 Feb 2019 14:59:46 +0000 (09:59 -0500)
committerAndrew Dunstan <[email protected]>
Tue, 5 Feb 2019 14:59:46 +0000 (09:59 -0500)
This was fixed for MSVC tools by commit 1df92eeafefac4, but per
buildfarm member bowerbird genbki.pl needs the same treatment.

Backpatch to all live branches.

src/backend/catalog/genbki.pl

index b63ca9234f898d347ed72935987938c573a9ff9b..a0479aaa150d44ec21ce826ff82129008faf9c94 100644 (file)
 #
 #----------------------------------------------------------------------
 
+use File::Basename;
+use File::Spec;
+BEGIN  { use lib File::Spec->rel2abs(dirname(__FILE__)); }
+
 use Catalog;
 
 use strict;