summaryrefslogtreecommitdiff
path: root/bin/autoheader.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/autoheader.in')
-rw-r--r--bin/autoheader.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/autoheader.in b/bin/autoheader.in
index bd824ea3..b8ed9d3f 100644
--- a/bin/autoheader.in
+++ b/bin/autoheader.in
@@ -273,11 +273,7 @@ $out->close;
{
foreach my $template ("$tmp/config.hin", @config_templates)
{
- if ($template =~ /["#\$&'()*;<>?[\\\^`|]/)
- {
- msg 'syntax', "warning: header template has shell metacharacters: $template";
- }
- elsif (! -r $template)
+ if (! -r $template)
{
msg 'syntax', "warning: cannot read $template: $!";
}