From 8283b5644097ab7a3e2489de9ee0378a2aa26d54 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 3 Jul 2013 05:01:13 +0100 Subject: Remove detection of deprecated backticks which was added in 1.1b9. --- make/utilities.pm | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'make') diff --git a/make/utilities.pm b/make/utilities.pm index 9281246fb..245ddd916 100644 --- a/make/utilities.pm +++ b/make/utilities.pm @@ -305,16 +305,6 @@ sub translate_functions($$) $module =~ /modules*\/(.+?)$/; $module = $1; - # This is only a cursory check, just designed to catch casual accidental use of backticks. - # There are pleanty of ways around it, but its not supposed to be for security, just checking - # that people are using the new configuration api as theyre supposed to and not just using - # backticks instead of eval(), being as eval has accountability. People wanting to get around - # the accountability will do so anyway. - if (($line =~ /`/) && ($line !~ /eval\(.+?`.+?\)/)) - { - die "Developers should no longer use backticks in configuration macros. Please use exec() and eval() macros instead. Offending line: $line (In module: $module)"; - } - if ($line =~ /ifuname\(\!"(\w+)"\)/) { my $uname = $1; -- cgit v1.2.3