]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/common.pm
Update copyright headers.
[user/henk/code/inspircd.git] / make / common.pm
index 636c3d5d6f44b1eed3998db09954bae467dd58c0..7046b878fe10324c3cde6f2b9e0629397393afa5 100644 (file)
@@ -1,7 +1,7 @@
 #
 # InspIRCd -- Internet Relay Chat Daemon
 #
-#   Copyright (C) 2014-2017, 2019 Sadie Powell <sadie@witchery.services>
+#   Copyright (C) 2014-2017, 2019-2021 Sadie Powell <sadie@witchery.services>
 #
 # This file is part of InspIRCd.  InspIRCd is free software: you can
 # redistribute it and/or modify it under the terms of the GNU General Public
 #
 
 
-BEGIN {
-       require 5.10.0;
-}
-
 package make::common;
 
-use feature ':5.10';
+use v5.10.0;
 use strict;
 use warnings FATAL => qw(all);
 
@@ -49,7 +45,7 @@ sub create_directory($$) {
 }
 
 sub execute(@) {
-       print_format "<|BOLD \$|> @_\n";
+       say console_format "<|BOLD \$|> @_";
        return system @_;
 }