d36b77
From 4573c39c4a5bfbcd36941c2ead3d4d93d9ac85e4 Mon Sep 17 00:00:00 2001
d36b77
From: Dan Kenigsberg <danken@cs.technion.ac.il>
d36b77
Date: Sat, 15 Jul 2017 21:28:03 +0300
d36b77
Subject: [PATCH] require local module explicitly
d36b77
d36b77
this allows build hspell when perl runs in taint mode which does not
d36b77
include the current directory in @INC
d36b77
---
d36b77
 binarize-desc.pl | 2 +-
d36b77
 genprefixes.pl   | 2 +-
d36b77
 pmerge           | 2 +-
d36b77
 3 files changed, 3 insertions(+), 3 deletions(-)
d36b77
d36b77
diff --git a/binarize-desc.pl b/binarize-desc.pl
d36b77
index dbf0b1c..f62ebc6 100755
d36b77
--- a/binarize-desc.pl
d36b77
+++ b/binarize-desc.pl
d36b77
@@ -8,7 +8,7 @@
d36b77
 
d36b77
 use Carp;
d36b77
 
d36b77
-require "PrefixBits.pl";
d36b77
+require "./PrefixBits.pl";
d36b77
 
d36b77
 # "perl -w" warns about variables only used once (it assumes they are a
d36b77
 # typo). This ugliness gets rid of this warning. Is there a more sensible way?
d36b77
diff --git a/genprefixes.pl b/genprefixes.pl
d36b77
index 450a7ca..9ae9e50 100755
d36b77
--- a/genprefixes.pl
d36b77
+++ b/genprefixes.pl
d36b77
@@ -1,6 +1,6 @@
d36b77
 #!/usr/bin/perl -w
d36b77
 
d36b77
-require "PrefixBits.pl";
d36b77
+require "./PrefixBits.pl";
d36b77
 
d36b77
 sub find_prefixes {
d36b77
 	my $INQUISITIVE_HE=shift;
d36b77
diff --git a/pmerge b/pmerge
d36b77
index 83ad949..9ceb9de 100755
d36b77
--- a/pmerge
d36b77
+++ b/pmerge
d36b77
@@ -8,7 +8,7 @@
d36b77
 use IO::File;
d36b77
 use Carp;
d36b77
 
d36b77
-require "PrefixBits.pl";
d36b77
+require "./PrefixBits.pl";
d36b77
 
d36b77
 # "perl -w" warns about variables only used once (it assumes they are a
d36b77
 # typo). This ugliness gets rid of this warning. Is there a more sensible way?
d36b77
-- 
d36b77
2.9.4
d36b77