projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa7a6c3
)
app-editors/atom: Use newer bash syntax
author
Elvis Pranskevichus
<elvis@magic.io>
Sat, 19 Nov 2016 19:20:03 +0000
(14:20 -0500)
committer
Göktürk Yüksek
<gokturk@gentoo.org>
Mon, 21 Nov 2016 05:12:04 +0000
(
00:12
-0500)
Package-Manager: portage-2.3.0
app-editors/atom/atom-1.12.2.ebuild
patch
|
blob
|
history
diff --git
a/app-editors/atom/atom-1.12.2.ebuild
b/app-editors/atom/atom-1.12.2.ebuild
index 70fdd96b34095dce55d4a267dd5cfe71b881c3e0..26f89e46e96ebcdec6162223df6332e1d6b5bdbe 100644
(file)
--- 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() {