diff options
author | 2012-06-07 21:51:48 +0000 | |
---|---|---|
committer | 2012-06-07 21:51:48 +0000 | |
commit | 86a674422816e678646ee0c6c89fa70d65a86fca (patch) | |
tree | 11df9a71eadecca7b41c14aea9dacbface638c19 /eclass/vcs-snapshot.eclass | |
parent | fix static-libs useflag wrt bug #412675 (diff) | |
download | gentoo-2-86a674422816e678646ee0c6c89fa70d65a86fca.tar.gz gentoo-2-86a674422816e678646ee0c6c89fa70d65a86fca.tar.bz2 gentoo-2-86a674422816e678646ee0c6c89fa70d65a86fca.zip |
Extract to ${WORKDIR}/${P} rather than ${S}.
Diffstat (limited to 'eclass/vcs-snapshot.eclass')
-rw-r--r-- | eclass/vcs-snapshot.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass index 674836033b5f..87293ad709fe 100644 --- a/eclass/vcs-snapshot.eclass +++ b/eclass/vcs-snapshot.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/vcs-snapshot.eclass,v 1.2 2012/03/19 08:52:49 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.3 2012/06/07 21:51:48 mgorny Exp $ # @ECLASS: vcs-snapshot.eclass # @MAINTAINER: @@ -9,7 +9,8 @@ # @DESCRIPTION: # This eclass provides a convenience src_unpack() which does support # working with snapshots generated by various VCS-es. It unpacks those -# to ${S} rather than the original directory containing commit id. +# to ${WORKDIR}/${P} rather than the original directory containing +# the commit id. # # Note that this eclass handles only unpacking. You need to specify # SRC_URI yourself, and call any autoreconfiguration as necessary. @@ -41,5 +42,5 @@ vcs-snapshot_src_unpack() { # github, bitbucket: username-projectname-hash # gitweb: projectname-tagname-hash - mv *-*-[0-9a-f]*[0-9a-f]/ "${S}" || die + mv *-*-[0-9a-f]*[0-9a-f]/ "${WORKDIR}"/${P} || die } |