commit: da122d84cdf1bffcfa851c4277bf38dd894ab902
Author: Elvis Pranskevichus <elvis <AT> magic <DOT> io>
AuthorDate: Sat Nov 19 19:20:03 2016 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 05:12:04 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da122d84
app-editors/atom: Use newer bash syntax
Package-Manager: portage-2.3.0
app-editors/atom/atom-1.12.2.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-editors/atom/atom-1.12.2.ebuild
b/app-editors/atom/atom-1.12.2.ebuild
index 70fdd96..26f89e4 100644
--- a/app-editors/atom/atom-1.12.2.ebuild
+++ b/app-editors/atom/atom-1.12.2.ebuild
@@ -150,9 +150,9 @@ easar() {
}
package_dir() {
- local binmod="${1}" binmod_v
- eval binmod_v=\${$(tr '[:lower:]' '[:upper:]' <<< ${binmod//-/_}_V)}
- echo -n ${binmod}-${binmod_v}
+ local binmod="${1//-/_}"
+ local binmod_v="${binmod^^}_V"
+ echo -n ${1}-${!binmod_v}
}
_unpack_npm_package() {