diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-02-23 18:01:47 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-03-08 08:35:32 +0100 |
commit | 308630e439f40246333800fea11b731715bdd83f (patch) | |
tree | 1843792a9e640c0315bc074f191e777a160bb10d /eclass/perl-functions.eclass | |
parent | mysql-multilib-r1.eclass: Replace unnecessary eval with bash array (diff) | |
download | gentoo-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.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/perl-functions.eclass b/eclass/perl-functions.eclass index 8b798d65ac6a..4f6872500c20 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 |