public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Göktürk Yüksek" <gokturk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/atom/
Date: Mon, 21 Nov 2016 05:12:27 +0000 (UTC)	[thread overview]
Message-ID: <1479705124.da122d84cdf1bffcfa851c4277bf38dd894ab902.gokturk@gentoo> (raw)

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() {


             reply	other threads:[~2016-11-21  5:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21  5:12 Göktürk Yüksek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-08-05  9:50 [gentoo-commits] repo/gentoo:master commit in: app-editors/atom/ Mikhail Pukhlikov
2018-01-26  9:22 Patrice Clement
2017-12-12 20:32 Patrice Clement
2017-06-30 12:23 Patrice Clement
2017-05-02 21:03 Patrice Clement
2017-02-08 12:40 Mikhail Pukhlikov
2016-06-23 21:41 Patrice Clement
2016-05-19 16:26 Ian Delaney
2016-04-30  9:29 Heather Cynede
2016-04-19  7:32 Heather Cynede
2016-04-13  9:05 Heather Cynede
2016-04-08 13:10 Heather Cynede
2016-04-08  7:19 Heather Cynede
2016-04-07 14:16 Heather Cynede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479705124.da122d84cdf1bffcfa851c4277bf38dd894ab902.gokturk@gentoo \
    --to=gokturk@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox