diff options
Diffstat (limited to 'make/unit-cc.pl')
-rwxr-xr-x | make/unit-cc.pl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl index 8006afe9b..f8991cb67 100755 --- a/make/unit-cc.pl +++ b/make/unit-cc.pl @@ -22,16 +22,15 @@ # -BEGIN { - push @INC, $ENV{SOURCEPATH}; - require 5.10.0; -} - +use v5.10.0; use strict; use warnings FATAL => qw(all); +use File::Basename qw(dirname); use File::Spec::Functions qw(abs2rel); +use FindBin qw($RealDir); +use lib dirname $RealDir; use make::console; use make::directive; |