From ca755a56b628c8296630c3e435425b14d3b8bf10 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 1 Sep 2012 15:42:45 -0700 Subject: Eliminate bin/ebuild-helpers/4 directory. Instead, just use conditionals where appropriate inside bin/ebuild-helpers/* scripts. --- bin/ebuild-helpers/dodoc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'bin/ebuild-helpers/dodoc') 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 -- cgit v1.2.3-1-g7c22