From 308630e439f40246333800fea11b731715bdd83f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Feb 2017 18:01:47 +0100 Subject: [PATCH] perl-functions.eclass: Replace unnecessary eval with ${!var} --- eclass/perl-functions.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2