automake111x: fix for perl5.26 ("Unescaped left brace in regex is illegal here") (#42649)

This commit is contained in:
volth
2018-06-27 16:27:58 +02:00
committed by xeji
parent dda16ec6ad
commit b43c7bd934
2 changed files with 11 additions and 1 deletions
@@ -0,0 +1,10 @@
--- automake-1.11.2/automake.in
+++ automake-1.11.2/automake.in
@@ -4156,7 +4156,7 @@ sub substitute_ac_subst_variables_worker($)
sub substitute_ac_subst_variables ($)
{
my ($text) = @_;
- $text =~ s/\${([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge;
+ $text =~ s/\$\{([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge;
return $text;
}