diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-07-25 07:51:16 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-07-25 07:51:16 +0000 |
commit | fff76e3affe453d75ee0f919e838217930974e35 (patch) | |
tree | 96af07fbc603ca78858b79ec15bffcc53ae71d39 /eclass | |
parent | Took maintaining back (diff) | |
download | historical-fff76e3affe453d75ee0f919e838217930974e35.tar.gz historical-fff76e3affe453d75ee0f919e838217930974e35.tar.bz2 historical-fff76e3affe453d75ee0f919e838217930974e35.zip |
Add some debug.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/vcs-snapshot.eclass | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index eb87a23d08c1..cbacbcc52140 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.892 2013/07/24 20:57:38 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.893 2013/07/25 07:51:16 mgorny Exp $ + + 25 Jul 2013; Michał Górny <mgorny@gentoo.org> vcs-snapshot.eclass: + Add some debug. 24 Jul 2013; Tomáš Chvátal <scarabeus@gentoo.org> cmake-utils.eclass: Fix function desc to match reality. diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass index ee06bf5befe9..8c144ad1e455 100644 --- a/eclass/vcs-snapshot.eclass +++ b/eclass/vcs-snapshot.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.6 2013/02/08 20:51:35 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.7 2013/07/25 07:51:16 mgorny Exp $ # @ECLASS: vcs-snapshot.eclass # @MAINTAINER: @@ -49,6 +49,8 @@ EXPORT_FUNCTIONS src_unpack # local names. Other archive types will be passed down to regular # unpack. vcs-snapshot_src_unpack() { + debug-print-function ${FUNCNAME} "${@}" + local f for f in ${A} @@ -57,6 +59,8 @@ vcs-snapshot_src_unpack() { *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) local destdir=${WORKDIR}/${f%.tar*} + debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" + # XXX: check whether the directory structure inside is # fine? i.e. if the tarball has actually a parent dir. mkdir "${destdir}" || die @@ -64,6 +68,8 @@ vcs-snapshot_src_unpack() { -f "${DISTDIR}/${f}" || die ;; *) + debug-print "${FUNCNAME}: falling back to unpack for ${f}" + # fall back to the default method unpack "${f}" ;; |