diff options
Diffstat (limited to 'bin/ebuild-helpers/dodoc')
-rwxr-xr-x | bin/ebuild-helpers/dodoc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/dodoc b/bin/ebuild-helpers/dodoc index 1f333a615..d6ce67933 100755 --- a/bin/ebuild-helpers/dodoc +++ b/bin/ebuild-helpers/dodoc @@ -1,7 +1,18 @@ #!/bin/bash -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +case "${EAPI}" in + 0|1|2|3) + ;; + *) + exec \ + env \ + __PORTAGE_HELPER="dodoc" \ + doins "$@" + ;; +esac + source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh if [ $# -lt 1 ] ; then |