From 19cdd938610e6630d58bd5b0fd311a80f6e54647 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 17 Jan 2020 14:40:44 +0000 Subject: Fix Perl tools not using the correct directory name in 'use lib'. --- tools/test-build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/test-build') diff --git a/tools/test-build b/tools/test-build index 773ddee64..978b60bc1 100755 --- a/tools/test-build +++ b/tools/test-build @@ -30,9 +30,10 @@ use feature ':5.10'; use strict; use warnings FATAL => qw(all); -use FindBin qw($RealDir); +use File::Basename qw(dirname); +use FindBin qw($RealDir); -use lib $RealDir; +use lib dirname $RealDir; use make::common; use make::configure; -- cgit v1.2.3