commit:     1dc3e93d1d1aab43e5cea648336785a17010260b
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  3 23:05:55 2014 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Nov  3 23:05:55 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1dc3e93d

eclass/gnome2-live.eclass: switch to git-r3

Seems to work just fine and has submodule checkout working out of the
box which should fix bug #508964.

---
 eclass/gnome2-live.eclass | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass
index 11424ef..286c6ee 100644
--- a/eclass/gnome2-live.eclass
+++ b/eclass/gnome2-live.eclass
@@ -14,7 +14,7 @@
 # Always to be imported *AFTER* gnome2.eclass
 #
 
-inherit autotools gnome2 gnome2-utils libtool git-2
+inherit autotools gnome2 gnome2-utils libtool git-r3
 
 # Stolen from git.eclass
 EXPORTED_FUNCTIONS="src_unpack pkg_postinst"
@@ -78,7 +78,7 @@ gnome2-live_src_unpack() {
        if test -n "${A}"; then
                unpack ${A}
        fi
-       git-2_src_unpack
+       git-r3_src_unpack
        has src_prepare ${EXPORTED_FUNCTIONS} || gnome2-live_src_prepare
 }
 
@@ -88,9 +88,6 @@ gnome2-live_src_unpack() {
 # Creates blank ChangeLog and necessary macro dirs. Runs various autotools
 # programs if required, and finally runs eautoreconf.
 gnome2-live_src_prepare() {
-       # Blame git.eclass
-       cd "${S}"
-
        for i in ${PATCHES}; do
                epatch "${i}"
        done

Reply via email to