Fix perl searchpath for gen_keywordlist.pl
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 7 Feb 2019 16:14:29 +0000 (11:14 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 7 Feb 2019 16:14:29 +0000 (11:14 -0500)
as found by running src/tools/perlcheck/pgperlsyncheck

src/tools/gen_keywordlist.pl

index 78ac1cd1c1a1775d252adc2c4a847dba548b2e05..1c1f1df6ad1c2922287a57fed52fe0c3d429aa4b 100644 (file)
 use strict;
 use warnings;
 use Getopt::Long;
+
+use FindBin;
+use lib $FindBin::RealBin;
+
 use PerfectHash;
 
 my $output_path = '';