Skip to content

Commit

Permalink
subversion.eclass: Fix error messages in subversion_bootstrap() and s…
Browse files Browse the repository at this point in the history
…ubversion_src_prepare().

${FUNCNAME[1]} is name of direct parent function, but name of current function
(${FUNCNAME[0]} or ${FUNCNAME}) is needed here.
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Feb 21, 2017
1 parent d3e457c commit b51b539
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eclass/subversion.eclass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand Down Expand Up @@ -367,7 +367,7 @@ subversion_fetch() {
# Apply patches in ${ESVN_PATCHES} and run ${ESVN_BOOTSTRAP} if specified.
# Removed in EAPI 6 and later.
subversion_bootstrap() {
[[ ${EAPI} == [012345] ]] || die "${FUNCNAME[1]} is removed from subversion.eclass in EAPI 6 and later"
[[ ${EAPI} == [012345] ]] || die "${FUNCNAME} is removed from subversion.eclass in EAPI 6 and later"

if has "export" ${ESVN_RESTRICT}; then
return
Expand Down Expand Up @@ -447,7 +447,7 @@ subversion_src_unpack() {
# Default src_prepare. Bootstrap.
# Removed in EAPI 6 and later.
subversion_src_prepare() {
[[ ${EAPI} == [012345] ]] || die "${FUNCNAME[1]} is removed from subversion.eclass in EAPI 6 and later"
[[ ${EAPI} == [012345] ]] || die "${FUNCNAME} is removed from subversion.eclass in EAPI 6 and later"
subversion_bootstrap || die "${ESVN}: unknown problem occurred in subversion_bootstrap."
}

Expand Down

0 comments on commit b51b539

Please sign in to comment.