diff options
author | Peter Powell <petpow@saberuk.com> | 2015-03-22 01:52:10 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2015-05-13 15:22:44 +0100 |
commit | 953ca72cfe7a9ff2bd6078b266b8e53336a62a62 (patch) | |
tree | 7c171357dc95a9f471de04a2b5292ff2ac853dee /make/unit-cc.pl | |
parent | 70faab99c83a9ee13cdbe84118e391ed9d5f5a9f (diff) |
unit-cc: Use the same preamble as other Perl tools.
Diffstat (limited to 'make/unit-cc.pl')
-rwxr-xr-x | make/unit-cc.pl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl index 66e9b15dc..3af620944 100755 --- a/make/unit-cc.pl +++ b/make/unit-cc.pl @@ -19,9 +19,14 @@ # +BEGIN { + push @INC, $ENV{SOURCEPATH}; + require 5.10.0; +} + use strict; -use warnings; -BEGIN { push @INC, $ENV{SOURCEPATH}; } +use warnings FATAL => qw(all); + use make::configure; chdir $ENV{BUILDPATH}; |