Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: elisp.eclass
Date: Fri, 07 Dec 2007 14:06:35
Message-Id: E1J0dcq-0003sV-T8@stork.gentoo.org
1 ulm 07/12/07 13:52:20
2
3 Modified: elisp.eclass
4 Log:
5 Undo the change of 2007-12-04. Remove cd command in elisp_src_unpack.
6
7 Revision Changes Path
8 1.27 eclass/elisp.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?rev=1.27&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?rev=1.27&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?r1=1.26&r2=1.27
13
14 Index: elisp.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v
17 retrieving revision 1.26
18 retrieving revision 1.27
19 diff -u -r1.26 -r1.27
20 --- elisp.eclass 7 Dec 2007 00:16:24 -0000 1.26
21 +++ elisp.eclass 7 Dec 2007 13:52:20 -0000 1.27
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.26 2007/12/07 00:16:24 opfer Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.27 2007/12/07 13:52:20 ulm Exp $
27 #
28 # Copyright 2007 Christian Faulhammer <opfer@g.o>
29 # Copyright 2002-2003 Matthew Kennedy <mkennedy@g.o>
30 @@ -45,6 +45,10 @@
31 RDEPEND=">=virtual/emacs-${VERSION}"
32 IUSE=""
33
34 +if [ "${SIMPLE_ELISP}" = 't' ]; then
35 + S="${WORKDIR}"
36 +fi
37 +
38 elisp_pkg_setup() {
39 local emacs_version="$(elisp-emacs-version)"
40 if ! version_is_at_least "${VERSION}" "${emacs_version}"; then
41 @@ -52,17 +56,12 @@
42 eerror "Use \"eselect emacs\" to select the active version."
43 die "Emacs version ${emacs_version} is too low."
44 fi
45 -
46 - if [ "${SIMPLE_ELISP}" = 't' ]; then
47 - S="${WORKDIR}"
48 - fi
49 }
50
51 elisp_src_unpack() {
52 unpack ${A}
53 if [ "${SIMPLE_ELISP}" = 't' ]; then
54 - cd "${WORKDIR}" && mv ${P}.el ${PN}.el \
55 - || die "mv ${P}.el ${PN}.el failed"
56 + mv ${P}.el ${PN}.el || die "mv ${P}.el ${PN}.el failed"
57 fi
58 }
59
60
61
62
63 --
64 gentoo-commits@g.o mailing list