From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABD241395E2 for ; Mon, 21 Nov 2016 05:12:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C1F3E0BB4; Mon, 21 Nov 2016 05:12:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA3E3E0BB8 for ; Mon, 21 Nov 2016 05:12:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D25B5341236 for ; Mon, 21 Nov 2016 05:12:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 911D64A5 for ; Mon, 21 Nov 2016 05:12:27 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1479705124.da122d84cdf1bffcfa851c4277bf38dd894ab902.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/atom/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/atom/atom-1.12.2.ebuild X-VCS-Directories: app-editors/atom/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: da122d84cdf1bffcfa851c4277bf38dd894ab902 X-VCS-Branch: master Date: Mon, 21 Nov 2016 05:12:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 392ed5e8-0604-4e78-929d-00887447a297 X-Archives-Hash: d4f6065c807307488a0f190b4952259a commit: da122d84cdf1bffcfa851c4277bf38dd894ab902 Author: Elvis Pranskevichus magic io> AuthorDate: Sat Nov 19 19:20:03 2016 +0000 Commit: Göktürk Yüksek gentoo 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() {