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 2052C1381F3 for ; Sat, 13 Apr 2013 22:36:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A258FE0AF9; Sat, 13 Apr 2013 22:36:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33E88E0AF9 for ; Sat, 13 Apr 2013 22:36:54 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4FB6633DF9C for ; Sat, 13 Apr 2013 22:36:53 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2279) id 160FF2171D; Sat, 13 Apr 2013 22:36:52 +0000 (UTC) From: "Michal Gorny (mgorny)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mgorny@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: systemd.eclass X-VCS-Directories: eclass X-VCS-Committer: mgorny X-VCS-Committer-Name: Michal Gorny Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130413223652.160FF2171D@flycatcher.gentoo.org> Date: Sat, 13 Apr 2013 22:36:52 +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: 72543874-99fb-4609-9cab-037f9be5d150 X-Archives-Hash: 4f5511fa7c0e9ef6c613fb892fdb69ea mgorny 13/04/13 22:36:52 Modified: systemd.eclass Log: Fix unnecessary $(). Revision Changes Path 1.24 eclass/systemd.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.24&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.24&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.23&r2=1.24 Index: systemd.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- systemd.eclass 13 Apr 2013 22:35:53 -0000 1.23 +++ systemd.eclass 13 Apr 2013 22:36:51 -0000 1.24 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.23 2013/04/13 22:35:53 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.24 2013/04/13 22:36:51 mgorny Exp $ # @ECLASS: systemd.eclass # @MAINTAINER: @@ -62,7 +62,7 @@ # @DESCRIPTION: # Get unprefixed userunitdir. _systemd_get_userunitdir() { - if $($(tc-getPKG_CONFIG) --exists systemd); then + if $(tc-getPKG_CONFIG) --exists systemd; then echo "$($(tc-getPKG_CONFIG) --variable=systemduserunitdir systemd)" else echo /usr/lib/systemd/user @@ -86,7 +86,7 @@ # @DESCRIPTION: # Get unprefixed utildir. _systemd_get_utildir() { - if $($(tc-getPKG_CONFIG) --exists systemd); then + if $(tc-getPKG_CONFIG) --exists systemd; then echo "$($(tc-getPKG_CONFIG) --variable=systemdutildir systemd)" else echo /usr/lib/systemd