From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 63DBE138A1A for ; Thu, 18 Dec 2014 16:59:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F136CE0AB3; Thu, 18 Dec 2014 16:59:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48D96E0AB8 for ; Thu, 18 Dec 2014 16:59:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 604133405BF for ; Thu, 18 Dec 2014 16:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0D63CC32 for ; Thu, 18 Dec 2014 16:59:47 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1418921952.5b7a42efa2d1d6073fdc6cce2dda55f433aa60ef.radhermit@gentoo> Subject: [gentoo-commits] proj/zsh-completion:master commit in: src/ X-VCS-Repository: proj/zsh-completion X-VCS-Files: src/_gentoo_packages X-VCS-Directories: src/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 5b7a42efa2d1d6073fdc6cce2dda55f433aa60ef X-VCS-Branch: master Date: Thu, 18 Dec 2014 16:59:47 +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: ec861e7c-32a9-4760-aef9-15cc392e8e27 X-Archives-Hash: fbf3bad326a50f3c50914c03e49bec52 commit: 5b7a42efa2d1d6073fdc6cce2dda55f433aa60ef Author: Tim Harder gentoo org> AuthorDate: Thu Dec 18 16:59:12 2014 +0000 Commit: Tim Harder gentoo org> CommitDate: Thu Dec 18 16:59:12 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=5b7a42ef _gentoo_packages: replace backtick usage with $() --- src/_gentoo_packages | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/_gentoo_packages b/src/_gentoo_packages index fd1dbcd..e96eac8 100644 --- a/src/_gentoo_packages +++ b/src/_gentoo_packages @@ -181,9 +181,9 @@ _gentoo_packages_update_active_useflag(){ local flags USE var=USE [[ -z ${(P)var} && -r /etc/portage/make.conf ]] && - local $var="`. /etc/portage/make.conf 2>/dev/null; echo ${(P)var}`" + local $var="$(. /etc/portage/make.conf 2>/dev/null; echo ${(P)var})" [[ -z ${(P)var} && -r /etc/make.conf ]] && - local $var="`. /etc/make.conf 2>/dev/null; echo ${(P)var}`" + local $var="$(. /etc/make.conf 2>/dev/null; echo ${(P)var})" flags=(${${${=USE}%-*}%\\*}) compadd $flags } @@ -270,11 +270,11 @@ _gentoo_packages_update_available_versions(){ #Function to show tbz2 files available _gentoo_packages_update_binary() { [[ -z $PKGDIR && -r /etc/portage/make.conf ]] && - local PKGDIR="`. /etc/portage/make.conf 2>/dev/null; echo $PKGDIR`" + local PKGDIR="$(. /etc/portage/make.conf 2>/dev/null; echo $PKGDIR)" [[ -z $PKGDIR && -r /etc/make.conf ]] && - local PKGDIR="`. /etc/make.conf 2>/dev/null; echo $PKGDIR`" + local PKGDIR="$(. /etc/make.conf 2>/dev/null; echo $PKGDIR)" [[ -z $PKGDIR && -r /usr/share/portage/config/make.globals ]] && - local PKGDIR="`. /usr/share/portage/config/make.globals 2>/dev/null; echo $PKGDIR`" + local PKGDIR="$(. /usr/share/portage/config/make.globals 2>/dev/null; echo $PKGDIR)" # this doesn't take care of ${PORTAGE_BINHOST}. If Gentoo official # binary mirror will be available we should rewrite it accordingly.