summaryrefslogtreecommitdiff
path: root/eclass
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
commitfc79d542739666654713b75887104a88fd44e26d (patch)
treed6a90e73dc85d3566c48cb283c0043a927845dca /eclass
parentUse pkg-config to query systemd directories. (diff)
downloadgentoo-2-fc79d542739666654713b75887104a88fd44e26d.tar.gz
gentoo-2-fc79d542739666654713b75887104a88fd44e26d.tar.bz2
gentoo-2-fc79d542739666654713b75887104a88fd44e26d.zip
Fix unnecessary $().
Diffstat (limited to '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