Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: distutils.eclass
Date: Wed, 24 Sep 2008 16:45:12
Message-Id: E1KiXUD-0003bm-BH@stork.gentoo.org
1 hawking 08/09/24 16:45:09
2
3 Modified: distutils.eclass
4 Log:
5 Quoting. Add die messages.
6
7 Revision Changes Path
8 1.52 eclass/distutils.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/distutils.eclass?rev=1.52&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/distutils.eclass?rev=1.52&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/distutils.eclass?r1=1.51&r2=1.52
13
14 Index: distutils.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v
17 retrieving revision 1.51
18 retrieving revision 1.52
19 diff -u -r1.51 -r1.52
20 --- distutils.eclass 28 Jun 2008 00:05:40 -0000 1.51
21 +++ distutils.eclass 24 Sep 2008 16:45:08 -0000 1.52
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.51 2008/06/28 00:05:40 chtekk Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.52 2008/09/24 16:45:08 hawking Exp $
27
28 # @ECLASS: distutils.eclass
29 # @MAINTAINER:
30 @@ -71,9 +71,11 @@
31 [ -n "${pylibdir}" ] && dodir "${pylibdir}"
32
33 if has_version ">=dev-lang/python-2.3"; then
34 - ${python} setup.py install --root=${D} --no-compile "$@" || die
35 + ${python} setup.py install --root="${D}" --no-compile "$@" ||\
36 + die "python setup.py install failed"
37 else
38 - ${python} setup.py install --root=${D} "$@" || die
39 + ${python} setup.py install --root="${D}" "$@" ||\
40 + die "python setup.py install failed"
41 fi
42
43 DDOCS="CHANGELOG KNOWN_BUGS MAINTAINERS PKG-INFO CONTRIBUTORS TODO NEWS"