aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2019-02-07 11:14:29 -0500
committerAndrew Dunstan <andrew@dunslane.net>2019-02-07 11:14:29 -0500
commit51b025933d442823b076e36f4dbe756d25b1a159 (patch)
treef32d7f211dda3e80294df72fc92a1733c032cb87 /src
parent8ce641f99709669133c6cbb12aa3d516af7897aa (diff)
downloadpostgresql-51b025933d442823b076e36f4dbe756d25b1a159.tar.gz
postgresql-51b025933d442823b076e36f4dbe756d25b1a159.zip
Fix perl searchpath for gen_keywordlist.pl
as found by running src/tools/perlcheck/pgperlsyncheck
Diffstat (limited to 'src')
-rw-r--r--src/tools/gen_keywordlist.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/gen_keywordlist.pl b/src/tools/gen_keywordlist.pl
index 78ac1cd1c1a..1c1f1df6ad1 100644
--- a/src/tools/gen_keywordlist.pl
+++ b/src/tools/gen_keywordlist.pl
@@ -31,6 +31,10 @@
use strict;
use warnings;
use Getopt::Long;
+
+use FindBin;
+use lib $FindBin::RealBin;
+
use PerfectHash;
my $output_path = '';