summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-03-29 20:27:19 +0000
committerUlrich Müller <ulm@gentoo.org>2009-03-29 20:27:19 +0000
commita5e434820becc57729aa1ff7695455badbe4344b (patch)
treef83a5e5610972b9381867a1d1620b069d1c93f26 /eclass
parentclean up (diff)
downloadhistorical-a5e434820becc57729aa1ff7695455badbe4344b.tar.gz
historical-a5e434820becc57729aa1ff7695455badbe4344b.tar.bz2
historical-a5e434820becc57729aa1ff7695455badbe4344b.zip
Change directory to S in src_unpack.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/elisp.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
index 8b32d514a6c0..cbff03ed8fa7 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.40 2009/03/29 19:49:45 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.41 2009/03/29 20:27:19 ulm Exp $
#
# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
@@ -83,7 +83,8 @@ elisp_src_unpack() {
fi
case "${EAPI:-0}" in
- 0|1) elisp_src_prepare ;;
+ 0|1) [ -d "${S}" ] && cd "${S}"
+ elisp_src_prepare ;;
esac
}