summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-04-07 15:19:14 +0200
committerDavid Seifert <soap@gentoo.org>2019-04-07 15:19:14 +0200
commit2a8781ad0f4625c898538ecd76214a3a416c779a (patch)
tree6dcc38039092dcf1d1d2f68cff43d5f443350635 /Portage.pm
parentFix truncation of -* if set in make.conf. (diff)
downloadufed-2a8781ad0f4625c898538ecd76214a3a416c779a.tar.gz
ufed-2a8781ad0f4625c898538ecd76214a3a416c779a.tar.bz2
ufed-2a8781ad0f4625c898538ecd76214a3a416c779a.zip
Fix unescaped left brace warning
Bug: https://bugs.gentoo.org/675332 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'Portage.pm')
-rw-r--r--Portage.pm2
1 files changed, 1 insertions, 1 deletions
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
][