summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-10-30 20:26:54 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-10-30 20:26:54 +0000
commit47f4383a6107ca8a68805af8df2969475fad0350 (patch)
tree84f2406a7549603f3c5f955fe3c9bec06d06b335 /eclass/udev.eclass
parentCleanup (diff)
downloadgentoo-2-47f4383a6107ca8a68805af8df2969475fad0350.tar.gz
gentoo-2-47f4383a6107ca8a68805af8df2969475fad0350.tar.bz2
gentoo-2-47f4383a6107ca8a68805af8df2969475fad0350.zip
Following systemd.eclass and using plain echo instead of echo -n
Diffstat (limited to 'eclass/udev.eclass')
-rw-r--r--eclass/udev.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/udev.eclass b/eclass/udev.eclass
index 8b30af740b14..6bb2ca9bca93 100644
--- a/eclass/udev.eclass
+++ b/eclass/udev.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.2 2012/10/30 20:03:12 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.3 2012/10/30 20:26:54 ssuominen Exp $
# @ECLASS: udev.eclass
# @MAINTAINER:
@@ -37,9 +37,9 @@ DEPEND="virtual/pkgconfig"
# Get unprefixed udevdir.
_udev_get_udevdir() {
if $($(tc-getPKG_CONFIG) --exists udev); then
- echo -n "$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
+ echo "$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
else
- echo -n /lib/udev
+ echo /lib/udev
fi
}
@@ -52,5 +52,5 @@ udev_get_udevdir() {
has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
debug-print-function ${FUNCNAME} "${@}"
- echo -n "${EPREFIX}$(_udev_get_udevdir)"
+ echo "${EPREFIX}$(_udev_get_udevdir)"
}