Bug #220775 - Source isolated-functions.sh before trying to call vecho.
authorZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 17:08:13 +0000 (17:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 17:08:13 +0000 (17:08 -0000)
svn path=/main/trunk/; revision=10235

bin/dodoc

index a9e33c9e4cc96f8599cea6d4c0151eb49ec4f6c9..3b502e9202690cd522c1276c0e6abe942c50ad5c 100755 (executable)
--- a/bin/dodoc
+++ b/bin/dodoc
@@ -4,6 +4,7 @@
 # $Id$
 
 if [ $# -lt 1 ] ; then
+       source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
        vecho "${0##*/}: at least one argument needed" 1>&2
        exit 1  
 fi