summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-23 18:01:47 +0100
committerMichał Górny <mgorny@gentoo.org>2017-03-08 08:35:32 +0100
commit308630e439f40246333800fea11b731715bdd83f (patch)
tree1843792a9e640c0315bc074f191e777a160bb10d /eclass/perl-functions.eclass
parentmysql-multilib-r1.eclass: Replace unnecessary eval with bash array (diff)
downloadgentoo-308630e439f40246333800fea11b731715bdd83f.tar.gz
gentoo-308630e439f40246333800fea11b731715bdd83f.tar.bz2
gentoo-308630e439f40246333800fea11b731715bdd83f.zip
perl-functions.eclass: Replace unnecessary eval with ${!var}
Diffstat (limited to 'eclass/perl-functions.eclass')
-rw-r--r--eclass/perl-functions.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/perl-functions.eclass b/eclass/perl-functions.eclass
index 8b798d65ac6..4f6872500c2 100644
--- 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