dodoc: source isolated-functions.sh earlier
authorZac Medico <zmedico@gentoo.org>
Wed, 26 Sep 2012 21:43:13 +0000 (14:43 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 26 Sep 2012 21:43:13 +0000 (14:43 -0700)
This is needed since commit ab46499322311c1faa710c63d0a5339e49a9061a.

bin/ebuild-helpers/dodoc

index bba7903847b294a15e9b50ea2c9e7a576187550e..c551735eb5340c19d40e7ee00e3a1bde3df67141 100755 (executable)
@@ -2,6 +2,8 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
+
 if ___eapi_dodoc_supports_-r; then
        exec \
        env \
@@ -9,8 +11,6 @@ if ___eapi_dodoc_supports_-r; then
        doins "$@"
 fi
 
-source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
-
 if [ $# -lt 1 ] ; then
        __helpers_die "${0##*/}: at least one argument needed"
        exit 1