projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
994ecaf
)
perl-functions.eclass: Replace unnecessary eval with ${!var}
author
Michał Górny
<mgorny@gentoo.org>
Thu, 23 Feb 2017 17:01:47 +0000
(18:01 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Wed, 8 Mar 2017 07:35:32 +0000
(08:35 +0100)
eclass/perl-functions.eclass
patch
|
blob
|
history
diff --git
a/eclass/perl-functions.eclass
b/eclass/perl-functions.eclass
index 8b798d65ac6a590ff3bacec361be2f44332cf392..4f6872500c204530d6ee765d4a2bcc0e2a0c94cf 100644
(file)
--- a/
eclass/perl-functions.eclass
+++ b/
eclass/perl-functions.eclass
@@
-275,7
+275,7
@@
perl_check_env() {
errored=1
# Read ENV Value
-
eval "value=\$$i"
;
+
value=${!i}
;
# Print ENV name/value pair
if [ -n "${I_KNOW_WHAT_I_AM_DOING}" ]; then