summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-26 06:58:19 +0000
committerMike Frysinger <vapier@gentoo.org>2012-11-26 06:58:19 +0000
commit5897de475f50b4a226b8433daa8b493af29472da (patch)
treee7fe0cc737023a93cb7828ff685eb605b147e62d /eclass
parentMinor spelling and whitespace fixes. (diff)
downloadgentoo-2-5897de475f50b4a226b8433daa8b493af29472da.tar.gz
gentoo-2-5897de475f50b4a226b8433daa8b493af29472da.tar.bz2
gentoo-2-5897de475f50b4a226b8433daa8b493af29472da.zip
fix by Julian Ospald to use correct default working dir for enlightenment_src_prepare and EAPI=[01] #444344
Diffstat (limited to 'eclass')
-rw-r--r--eclass/enlightenment.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
index c15449ce37d7..224955b3baea 100644
--- a/eclass/enlightenment.eclass
+++ b/eclass/enlightenment.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.97 2012/11/17 16:02:17 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.98 2012/11/26 06:58:19 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -118,7 +118,10 @@ enlightenment_src_unpack() {
else
unpack ${A}
fi
- has src_prepare ${ENLIGHTENMENT_EXPF} || enlightenment_src_prepare
+ if ! has src_prepare ${ENLIGHTENMENT_EXPF} ; then
+ cd "${S}" || die
+ enlightenment_src_prepare
+ fi
}
enlightenment_src_prepare() {