diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-08-01 17:53:03 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-08-01 17:53:53 -0700 |
commit | 4178160225ba4337687c24870f0e1af93bb5822f (patch) | |
tree | c48c6d0e10ec72ca89f460eb53e6ff605c555e2e | |
parent | e54e3f907b024c7fa7fe3af9a5383f4b153e8fba (diff) | |
download | autoconf-4178160225ba4337687c24870f0e1af93bb5822f.tar.gz |
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.
-rw-r--r-- | bin/autoheader.in | 6 |
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: $!"; } |