From 4178160225ba4337687c24870f0e1af93bb5822f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 1 Aug 2020 17:53:03 -0700 Subject: Fix regression: autotools and whitespace in file names * bin/autoheader.in (templates_for_header): Fix previous change by not warning about file names with shell metacharacters, as this is OK for command-line file names. --- bin/autoheader.in | 6 +----- 1 file changed, 1 insertion(+), 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: $!"; } -- cgit v1.2.1