From 3d7c117d5246fe5390f3fda7bd31308799d54201 Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Sat, 22 Oct 2016 13:55:48 +0200 Subject: Patch unit tests to explicitly insert "." into @INC when needed. require calls now require ./ to be prepended to the file since . is no longer guaranteed to be in @INC. --- regen_perly.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regen_perly.pl') diff --git a/regen_perly.pl b/regen_perly.pl index f9ef04bd81..b8fb5d7004 100644 --- a/regen_perly.pl +++ b/regen_perly.pl @@ -35,7 +35,7 @@ sub usage { die "usage: $0 [ -b bison_executable ] [ file.y ]\n" } use warnings; use strict; -BEGIN { require 'regen/regen_lib.pl'; } +BEGIN { require './regen/regen_lib.pl'; } my $bison = 'bison'; -- cgit v1.2.1