]>
Commit | Line | Data |
---|---|---|
26f9c745 AM |
1 | From: Pavel Raiskup <praiskup@redhat.com> |
2 | Date: Tue, 7 Jul 2015 10:54:24 +0200 | |
3 | Subject: [PATCH 2/2] bin/automake: escape '{' in regexp pattern | |
4 | ||
5 | Resolves: rhbz#1239379 | |
6 | Upstream report: | |
7 | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21001 | |
8 | ||
9 | diff --git a/bin/automake.in b/bin/automake.in | |
10 | index eedc8bc..a679d16 100644 | |
11 | --- a/bin/automake.in | |
12 | +++ b/bin/automake.in | |
13 | @@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker | |
14 | sub substitute_ac_subst_variables | |
15 | { | |
16 | my ($text) = @_; | |
17 | - $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge; | |
18 | + $text =~ s/\$\{([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge; | |
19 | return $text; | |
20 | } | |
21 |