diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-03-12 14:10:48 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-03-12 14:10:48 +0000 |
commit | 469c33a59c006232b120df6eb2c9588bcf10b607 (patch) | |
tree | eda692852d83a25a60c088e6f0d1f75c07585789 /eclass/elisp-common.eclass | |
parent | Be more verbose. (diff) | |
download | gentoo-2-469c33a59c006232b120df6eb2c9588bcf10b607.tar.gz gentoo-2-469c33a59c006232b120df6eb2c9588bcf10b607.tar.bz2 gentoo-2-469c33a59c006232b120df6eb2c9588bcf10b607.zip |
Don't create site-start.el if we are called from emacs-common-gentoo.
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index a88eec89f31d..a1880bf25a5b 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.56 2009/03/12 12:08:47 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.57 2009/03/12 14:10:48 ulm Exp $ # # Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org> # Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> @@ -324,7 +324,8 @@ elisp-site-regen() { return 1 fi - [ -e "${ROOT}${SITELISP}"/site-gentoo.el ] || firstrun=t + [ -e "${ROOT}${SITELISP}"/site-gentoo.el ] \ + || [ "${PN}" = emacs-common-gentoo ] || firstrun=t if [ "${firstrun}" ] && [ ! -e "${ROOT}${SITELISP}"/site-start.el ]; then einfo "Creating default site-start.el ..." |