flag-o-matic.eclass: Replace unnecessary evals
authorMichał Górny <mgorny@gentoo.org>
Wed, 22 Feb 2017 19:20:10 +0000 (20:20 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 8 Mar 2017 07:35:27 +0000 (08:35 +0100)
commit107aacd2d148608cac69f4010df93df4727c2852
treea37a1c340a11d6f9069d2880b0e17acc90d8422d
parent0a2371efbe94fb1b410c0afd49bb1bb640d36a9e
flag-o-matic.eclass: Replace unnecessary evals

Replace the evals used to export variables with plain export calls. Bash
expands variable references for exported variable name anyway, rendering
the eval completely unnecessary.

Replace the single eval used for indirect variable reference with the
${!...} substitution which serves that exact purpose in bash.
eclass/flag-o-matic.eclass