From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs:master commit in: eclass/
Date: Thu, 31 Oct 2013 15:07:59 +0000 (UTC) [thread overview]
Message-ID: <1383232117.99251e279a016d3fd7e00e76194374d09bc48308.ulm@gentoo> (raw)
commit: 99251e279a016d3fd7e00e76194374d09bc48308
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 31 15:08:37 2013 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 15:08:37 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=99251e27
Don't create site-gentoo.el in postrm phase.
---
eclass/ChangeLog | 3 +++
eclass/elisp-common.eclass | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index d443777..3bdade8 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -778,6 +778,9 @@
Copyright 2002-2012 Gentoo Foundation
Distributed under the terms of the GNU General Public License v2
+ 31 Oct 2013; Ulrich Müller <ulm@gentoo.org> elisp-common.eclass:
+ Don't create site-gentoo.el in postrm phase.
+
04 Sep 2013; Ulrich Müller <ulm@gentoo.org> elisp-common.eclass:
Add proper @CODE tags in comments.
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index 8085e56..d1e7fbb 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -362,6 +362,11 @@ elisp-site-regen() {
return 1
fi
+ if [[ ${EBUILD_PHASE} = *rm && ! -e ${sitelisp}/site-gentoo.el ]]; then
+ ewarn "Refusing to create site-gentoo.el in ${EBUILD_PHASE} phase."
+ return 0
+ fi
+
ebegin "Regenerating site-gentoo.el for GNU Emacs (${EBUILD_PHASE})"
for sf in "${sitelisp}"/[0-9][0-9]*-gentoo.el \
next reply other threads:[~2013-10-31 15:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-31 15:07 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-01-31 8:34 [gentoo-commits] proj/emacs:master commit in: eclass/ Ulrich Müller
2015-12-20 15:36 Ulrich Müller
2015-05-25 13:19 Ulrich Müller
2015-05-25 13:19 Ulrich Müller
2015-05-25 13:19 Ulrich Müller
2014-06-11 9:15 Ulrich Müller
2014-06-07 10:32 Ulrich Müller
2014-05-19 17:38 Ulrich Müller
2014-05-18 14:53 Ulrich Müller
2014-05-18 14:53 Ulrich Müller
2013-11-04 21:34 Ulrich Müller
2013-09-04 19:12 Ulrich Mueller
2013-08-02 16:46 Ulrich Mueller
2013-07-22 20:07 Ulrich Mueller
2013-07-18 20:36 Ulrich Mueller
2013-07-16 16:37 Mats Lidell
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=1383232117.99251e279a016d3fd7e00e76194374d09bc48308.ulm@gentoo \
--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