From: Andrew Dunstan Date: Tue, 5 Feb 2019 14:59:46 +0000 (-0500) Subject: Fix searchpath for modern Perl for genbki.pl X-Git-Tag: REL9_4_21~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51884fa16a179852ec851172a72588d8e84ec05e;p=postgresql Fix searchpath for modern Perl for genbki.pl 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. --- diff --git a/src/backend/catalog/genbki.pl b/src/backend/catalog/genbki.pl index ca8987907c..b09f8b5e47 100644 --- a/src/backend/catalog/genbki.pl +++ b/src/backend/catalog/genbki.pl @@ -14,6 +14,10 @@ # #---------------------------------------------------------------------- +use File::Basename; +use File::Spec; +BEGIN { use lib File::Spec->rel2abs(dirname(__FILE__)); } + use Catalog; use strict;