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_6_12~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be037c11bf2dbaf9048a988c6ac24b18b2016dd0;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 54a14e5dc3..acddef31cc 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;