public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Mueller (ulm)" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: elisp.eclass
Date: Tue, 04 Dec 2007 13:11:15 +0000	[thread overview]
Message-ID: <E1IzXYR-0007uU-Jp@stork.gentoo.org> (raw)

ulm         07/12/04 13:11:15

  Modified:             elisp.eclass
  Log:
  Move handling of SIMPLE_ELISP into elisp_pkg_setup, otherwise it fails
  with portage-2.1.4_rc7.
  Die in elisp_src_unpack if mv fails.

Revision  Changes    Path
1.25                 eclass/elisp.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?r1=1.24&r2=1.25

Index: elisp.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- elisp.eclass	14 Oct 2007 22:12:30 -0000	1.24
+++ elisp.eclass	4 Dec 2007 13:11:15 -0000	1.25
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.24 2007/10/14 22:12:30 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.25 2007/12/04 13:11:15 ulm Exp $
 #
 # Copyright 2007 Christian Faulhammer <opfer@gentoo.org>
 # Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
@@ -45,10 +45,6 @@
 RDEPEND=">=virtual/emacs-${VERSION}"
 IUSE=""
 
-if [ "${SIMPLE_ELISP}" = 't' ]; then
-	S="${WORKDIR}"
-fi
-
 elisp_pkg_setup() {
 	local emacs_version="$(elisp-emacs-version)"
 	if ! version_is_at_least "${VERSION}" "${emacs_version}"; then
@@ -56,12 +52,17 @@
 		eerror "Use \"eselect emacs\" to select the active version."
 		die "Emacs version ${emacs_version} is too low."
 	fi
+
+	if [ "${SIMPLE_ELISP}" = 't' ]; then
+		S="${WORKDIR}"
+	fi
 }
 
 elisp_src_unpack() {
 	unpack ${A}
 	if [ "${SIMPLE_ELISP}" = 't' ]; then
-		cd "${S}" && mv ${P}.el ${PN}.el
+		cd "${S}" && mv ${P}.el ${PN}.el \
+			|| die "mv ${P}.el ${PN}.el failed"
 	fi
 }
 



-- 
gentoo-commits@gentoo.org mailing list



             reply	other threads:[~2007-12-04 13:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04 13:11 Ulrich Mueller (ulm) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-07  0:16 [gentoo-commits] gentoo-x86 commit in eclass: elisp.eclass Christian Faulhammer (opfer)
2007-12-07 13:52 Ulrich Mueller (ulm)
2008-03-03 15:21 Ulrich Mueller (ulm)
2008-06-03 15:48 Ulrich Mueller (ulm)
2008-06-23 13:40 Ulrich Mueller (ulm)
2008-06-23 21:38 Christian Faulhammer (opfer)
2008-08-28  9:55 Ulrich Mueller (ulm)
2008-11-16 10:23 Ulrich Mueller (ulm)
2009-02-07 11:32 Christian Faulhammer (fauli)
2009-03-29 19:49 Ulrich Mueller (ulm)
2009-03-29 20:27 Ulrich Mueller (ulm)
2009-08-25 12:53 Ulrich Mueller (ulm)
2010-01-30 22:54 Ulrich Mueller (ulm)
2010-09-17  7:39 Ulrich Mueller (ulm)
2011-02-07 21:48 Ulrich Mueller (ulm)
2011-08-12 16:14 Ulrich Mueller (ulm)
2011-10-21 19:16 Ulrich Mueller (ulm)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1IzXYR-0007uU-Jp@stork.gentoo.org \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox