dodoc somehow slipped through
authorFabian Groffen <grobian@gentoo.org>
Wed, 9 Dec 2009 21:35:33 +0000 (21:35 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 9 Dec 2009 21:35:33 +0000 (21:35 -0000)
svn path=/main/branches/prefix/; revision=14994

bin/ebuild-helpers/4/dodoc

index 4e7c934abeb478f208a951053b4c0628f24fe5cd..66d9a4367a6451087577c46bbc9264230cbd242d 100755 (executable)
@@ -1,16 +1,16 @@
-#!/bin/bash
+#!@PORTAGE_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
+source "${PORTAGE_BIN_PATH:-@PORTAGE_BASE@/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_}"
+dir="${ED}usr/share/doc/${PF}/${_E_DOCDESTTREE_}"
 if [ ! -d "${dir}" ] ; then
        install -d "${dir}"
 fi