Blame automake-1.15-perl-escape-curly-bracket.patch
|
Pavel Raiskup |
2bc6fa |
From: Pavel Raiskup <praiskup@redhat.com>
|
|
Pavel Raiskup |
2bc6fa |
Date: Tue, 7 Jul 2015 10:54:24 +0200
|
|
Pavel Raiskup |
2bc6fa |
Subject: [PATCH 2/2] bin/automake: escape '{' in regexp pattern
|
|
Pavel Raiskup |
2bc6fa |
|
|
Pavel Raiskup |
2bc6fa |
Resolves: rhbz#1239379
|
|
Pavel Raiskup |
2bc6fa |
Upstream report:
|
|
Pavel Raiskup |
2bc6fa |
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21001
|
|
Pavel Raiskup |
2bc6fa |
|
|
Pavel Raiskup |
2bc6fa |
diff --git a/bin/automake.in b/bin/automake.in
|
|
Pavel Raiskup |
2bc6fa |
index eedc8bc..a679d16 100644
|
|
Pavel Raiskup |
2bc6fa |
--- a/bin/automake.in
|
|
Pavel Raiskup |
2bc6fa |
+++ b/bin/automake.in
|
|
Pavel Raiskup |
2bc6fa |
@@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker
|
|
Pavel Raiskup |
2bc6fa |
sub substitute_ac_subst_variables
|
|
Pavel Raiskup |
2bc6fa |
{
|
|
Pavel Raiskup |
2bc6fa |
my ($text) = @_;
|
|
Pavel Raiskup |
2bc6fa |
- $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
|
|
Pavel Raiskup |
2bc6fa |
+ $text =~ s/\$\{([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
|
|
Pavel Raiskup |
2bc6fa |
return $text;
|
|
Pavel Raiskup |
2bc6fa |
}
|
|
Pavel Raiskup |
2bc6fa |
|