Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog systemd.eclass
Date: Tue, 30 Oct 2012 20:24:30
Message-Id: 20121030202409.4CE4F21600@flycatcher.gentoo.org
1 mgorny 12/10/30 20:24:09
2
3 Modified: ChangeLog systemd.eclass
4 Log:
5 Replace "echo -n" with "echo", bash removes trailing newline in subshells anyway.
6
7 Revision Changes Path
8 1.486 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.486&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.486&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.485&r2=1.486
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.485
18 retrieving revision 1.486
19 diff -u -r1.485 -r1.486
20 --- ChangeLog 30 Oct 2012 17:22:33 -0000 1.485
21 +++ ChangeLog 30 Oct 2012 20:24:09 -0000 1.486
22 @@ -1,6 +1,10 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.485 2012/10/30 17:22:33 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.486 2012/10/30 20:24:09 mgorny Exp $
27 +
28 + 30 Oct 2012; Michał Górny <mgorny@g.o> systemd.eclass:
29 + Replace "echo -n" with "echo", bash removes trailing newline in subshells
30 + anyway.
31
32 30 Oct 2012; Michał Górny <mgorny@g.o> python-distutils-ng.eclass:
33 Fix Prefix support, wrt bug #423323.
34
35
36
37 1.16 eclass/systemd.eclass
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.16&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.16&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.15&r2=1.16
42
43 Index: systemd.eclass
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
46 retrieving revision 1.15
47 retrieving revision 1.16
48 diff -u -r1.15 -r1.16
49 --- systemd.eclass 27 Sep 2012 16:35:42 -0000 1.15
50 +++ systemd.eclass 30 Oct 2012 20:24:09 -0000 1.16
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.15 2012/09/27 16:35:42 axs Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.16 2012/10/30 20:24:09 mgorny Exp $
56
57 # @ECLASS: systemd.eclass
58 # @MAINTAINER:
59 @@ -35,7 +35,7 @@
60 # @DESCRIPTION:
61 # Get unprefixed unitdir.
62 _systemd_get_unitdir() {
63 - echo -n /usr/lib/systemd/system
64 + echo /usr/lib/systemd/system
65 }
66
67 # @FUNCTION: systemd_get_unitdir
68 @@ -46,7 +46,7 @@
69 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
70 debug-print-function ${FUNCNAME} "${@}"
71
72 - echo -n "${EPREFIX}$(_systemd_get_unitdir)"
73 + echo "${EPREFIX}$(_systemd_get_unitdir)"
74 }
75
76 # @FUNCTION: systemd_dounit
77 @@ -149,7 +149,7 @@
78 debug-print-function ${FUNCNAME} "${@}"
79 local optname=${1:-systemdsystemunitdir}
80
81 - echo -n --with-${optname}="$(systemd_get_unitdir)"
82 + echo --with-${optname}="$(systemd_get_unitdir)"
83 }
84
85 # @FUNCTION: systemd_to_myeconfargs