diff options
author | Elvis Pranskevichus <elvis@magic.io> | 2016-11-19 14:20:03 -0500 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-11-21 00:12:04 -0500 |
commit | da122d84cdf1bffcfa851c4277bf38dd894ab902 (patch) | |
tree | e16592d06fd085010c21680aa58df38faaa49aa6 /app-editors/atom | |
parent | app-editors/atom: Version bump to 1.12.2 (diff) | |
download | gentoo-da122d84cdf1bffcfa851c4277bf38dd894ab902.tar.gz gentoo-da122d84cdf1bffcfa851c4277bf38dd894ab902.tar.bz2 gentoo-da122d84cdf1bffcfa851c4277bf38dd894ab902.zip |
app-editors/atom: Use newer bash syntax
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-editors/atom')
-rw-r--r-- | app-editors/atom/atom-1.12.2.ebuild | 6 |
1 files 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 70fdd96b3409..26f89e46e96e 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() { |