summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-09-26 14:43:13 -0700
committerZac Medico <zmedico@gentoo.org>2012-09-26 14:43:13 -0700
commit690fe8571a827cbe0e807b9c396f0d134d35481e (patch)
treee4ea3f8f09757136d6bf10826d9180e34b9ff0c7 /bin/ebuild-helpers
parent7cf1e23b2debfa1a09c98d5cc6a795cc3e58ea95 (diff)
downloadportage-690fe8571a827cbe0e807b9c396f0d134d35481e.tar.gz
portage-690fe8571a827cbe0e807b9c396f0d134d35481e.tar.bz2
portage-690fe8571a827cbe0e807b9c396f0d134d35481e.zip
dodoc: source isolated-functions.sh earlier
This is needed since commit ab46499322311c1faa710c63d0a5339e49a9061a.
Diffstat (limited to 'bin/ebuild-helpers')
-rwxr-xr-xbin/ebuild-helpers/dodoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-helpers/dodoc b/bin/ebuild-helpers/dodoc
index bba790384..c551735eb 100755
--- a/bin/ebuild-helpers/dodoc
+++ b/bin/ebuild-helpers/dodoc
@@ -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