diff options
Diffstat (limited to 'eclass/elisp.eclass')
-rw-r--r-- | eclass/elisp.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass index 7d8c7ddd5990..0527be4523b3 100644 --- a/eclass/elisp.eclass +++ b/eclass/elisp.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.eclass,v 1.38 2009/03/12 12:08:47 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.39 2009/03/26 14:14:22 ulm Exp $ # # Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org> # Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> @@ -69,7 +69,9 @@ elisp_pkg_setup() { elisp_src_unpack() { [ -n "${A}" ] && unpack ${A} if [ -f ${P}.el ]; then + # the "simple elisp" case with a single *.el file in WORKDIR mv ${P}.el ${PN}.el || die + [ -d "${S}" ] || S=${WORKDIR} fi } |