diff options
author | Peter Powell <petpow@saberuk.com> | 2013-07-03 05:01:13 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-07-04 15:51:10 +0100 |
commit | 8283b5644097ab7a3e2489de9ee0378a2aa26d54 (patch) | |
tree | 2c99c42abf7efad321b44855bf28190e2300d15d /make/utilities.pm | |
parent | 54d10d53c730ab81ca6464fe2f0e0ecbcd435672 (diff) |
Remove detection of deprecated backticks which was added in 1.1b9.
Diffstat (limited to 'make/utilities.pm')
-rw-r--r-- | make/utilities.pm | 10 |
1 files changed, 0 insertions, 10 deletions
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; |