summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-04-13 22:36:51 +0000
committerMichał Górny <mgorny@gentoo.org>2013-04-13 22:36:51 +0000
commitd231188a0119d67f933377e7054be2df75448163 (patch)
treea132f0a15699a5785ae1937c607c93fe4119dac9 /eclass/systemd.eclass
parentUse pkg-config to query systemd directories. (diff)
downloadhistorical-d231188a0119d67f933377e7054be2df75448163.tar.gz
historical-d231188a0119d67f933377e7054be2df75448163.tar.bz2
historical-d231188a0119d67f933377e7054be2df75448163.zip
Fix unnecessary $().
Diffstat (limited to 'eclass/systemd.eclass')
-rw-r--r--eclass/systemd.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index f59c26339c2e..329d6cc63e45 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -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 @@ systemd_get_unitdir() {
# @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 @@ systemd_get_userunitdir() {
# @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