1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.18 2005/01/20 09:53:16 hattya Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.19 2005/05/05 14:55:23 hattya Exp $ |
4 | |
4 | |
5 | ## --------------------------------------------------------------------------- # |
5 | ## --------------------------------------------------------------------------- # |
6 | # Author: Akinori Hattori <hattya@gentoo.org> |
6 | # Author: Akinori Hattori <hattya@gentoo.org> |
7 | # |
7 | # |
8 | # The subversion eclass is written to fetch the software sources from |
8 | # The subversion eclass is written to fetch the software sources from |
… | |
… | |
227 | |
227 | |
228 | ## -- subversion_src_unpack() ------------------------------------------------ # |
228 | ## -- subversion_src_unpack() ------------------------------------------------ # |
229 | |
229 | |
230 | function subversion_src_unpack() { |
230 | function subversion_src_unpack() { |
231 | |
231 | |
|
|
232 | if [ "${A}" != "" ]; then |
|
|
233 | unpack ${A} |
|
|
234 | fi |
|
|
235 | |
232 | subversion_svn_fetch || die "${ESVN}: unknown problem in subversion_svn_fetch()." |
236 | subversion_svn_fetch || die "${ESVN}: unknown problem in subversion_svn_fetch()." |
233 | subversion_bootstrap || die "${ESVN}: unknown problem in subversion_bootstrap()." |
237 | subversion_bootstrap || die "${ESVN}: unknown problem in subversion_bootstrap()." |
234 | |
238 | |
235 | } |
239 | } |