commit:     2a8781ad0f4625c898538ecd76214a3a416c779a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 13:19:14 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 13:19:14 2019 +0000
URL:        https://gitweb.gentoo.org/proj/ufed.git/commit/?id=2a8781ad

Fix unescaped left brace warning

Bug: https://bugs.gentoo.org/675332
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 Portage.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Portage.pm b/Portage.pm
index a86e5bb..0815fb2 100644
--- a/Portage.pm
+++ b/Portage.pm
@@ -1055,7 +1055,7 @@ sub _read_sh {
                                                $addvalue =~ s[
                                                        \\\n       | # 
backslash-newline
                                                        \\(.)      | # other 
escaped characters
-                                                       \$({)?       # $
+                                                       \$(\{)?      # $
                                                        $IDENT       # followed 
by an identifier
                                                        (?(2)})      # 
optionally enclosed in braces
                                                ][

Reply via email to