1 |
commit: 308630e439f40246333800fea11b731715bdd83f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 23 17:01:47 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 8 07:35:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=308630e4 |
7 |
|
8 |
perl-functions.eclass: Replace unnecessary eval with ${!var} |
9 |
|
10 |
eclass/perl-functions.eclass | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/eclass/perl-functions.eclass b/eclass/perl-functions.eclass |
14 |
index 8b798d65ac6..4f6872500c2 100644 |
15 |
--- a/eclass/perl-functions.eclass |
16 |
+++ b/eclass/perl-functions.eclass |
17 |
@@ -275,7 +275,7 @@ perl_check_env() { |
18 |
errored=1 |
19 |
|
20 |
# Read ENV Value |
21 |
- eval "value=\$$i"; |
22 |
+ value=${!i}; |
23 |
|
24 |
# Print ENV name/value pair |
25 |
if [ -n "${I_KNOW_WHAT_I_AM_DOING}" ]; then |