From d1fb3947cbf415648fb4f99571e9bede9eee8ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 16 May 2017 15:10:40 +0200 Subject: [PATCH] Fix building on Perl without "." in @INC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Písař --- builder/lib/Build/Spec.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/lib/Build/Spec.pm b/builder/lib/Build/Spec.pm index 394132a..4605be2 100644 --- a/builder/lib/Build/Spec.pm +++ b/builder/lib/Build/Spec.pm @@ -16,7 +16,7 @@ BEGIN { sub spec { my %opt = @_; my $file = 'SPEC'; - my $spec = do $file; + my $spec = do "./$file"; my %rv = $@ ? do { croak $@ =~ OS_ERROR ? $@ : "Couldn't parse $file: $@" } -- 2.9.4