summaryrefslogtreecommitdiff
path: root/tools/test-build
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-build')
-rwxr-xr-xtools/test-build5
1 files changed, 3 insertions, 2 deletions
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;