diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-12-10 01:03:00 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-12-10 01:03:00 +0000 |
commit | 44f9d22c7c87ca6a4357297e8588f150309264b3 (patch) | |
tree | ca28fea93b91f9daf086e0b9cf70841cb58a7368 /bin/ebuild-helpers/3 | |
parent | a6de04e2e0daa4c2697ecb9d11f6adaf8bbf63f2 (diff) | |
download | portage-44f9d22c7c87ca6a4357297e8588f150309264b3.tar.gz portage-44f9d22c7c87ca6a4357297e8588f150309264b3.tar.bz2 portage-44f9d22c7c87ca6a4357297e8588f150309264b3.zip |
Move ebuild helpers to account for rename of EAPI 3 to 4. (trunk r14966)
svn path=/main/branches/2.1.7/; revision=15000
Diffstat (limited to 'bin/ebuild-helpers/3')
-rwxr-xr-x | bin/ebuild-helpers/3/dodoc | 50 | ||||
l--------- | bin/ebuild-helpers/3/dohard | 1 | ||||
l--------- | bin/ebuild-helpers/3/dosed | 1 |
3 files changed, 0 insertions, 52 deletions
diff --git a/bin/ebuild-helpers/3/dodoc b/bin/ebuild-helpers/3/dodoc deleted file mode 100755 index 4e7c934ab..000000000 --- a/bin/ebuild-helpers/3/dodoc +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh - -if [ $# -lt 1 ] ; then - vecho "${0##*/}: at least one argument needed" 1>&2 - exit 1 -fi - -dir="${D}usr/share/doc/${PF}/${_E_DOCDESTTREE_}" -if [ ! -d "${dir}" ] ; then - install -d "${dir}" -fi - -ret=0 - -DOINSRECUR="n" - -if [[ "$1" == "-r" ]] ; then - DOINSRECUR="y" - shift -fi - -for x in "$@" ; do - - if [ -d "${x}" ] ; then - if [[ ${DOINSRECUR} == "n" ]] ; then - continue - fi - - find "${x}" -mindepth 1 -maxdepth 1 -exec \ - env \ - _E_DOCDESTTREE_="$(basename "${x}")" \ - ${0} -r {} \; - - elif [ -s "${x}" ] ; then - install -m0644 "${x}" "${dir}" - ecompress --queue "${dir}/${x##*/}" - - elif [ ! -e "${x}" ] ; then - echo "!!! ${0##*/}: $x does not exist" 1>&2 - ((ret|=1)) - fi - -done - -exit ${ret} diff --git a/bin/ebuild-helpers/3/dohard b/bin/ebuild-helpers/3/dohard deleted file mode 120000 index 1a6b57a39..000000000 --- a/bin/ebuild-helpers/3/dohard +++ /dev/null @@ -1 +0,0 @@ -../../banned-helper
\ No newline at end of file diff --git a/bin/ebuild-helpers/3/dosed b/bin/ebuild-helpers/3/dosed deleted file mode 120000 index 1a6b57a39..000000000 --- a/bin/ebuild-helpers/3/dosed +++ /dev/null @@ -1 +0,0 @@ -../../banned-helper
\ No newline at end of file |