Bug #220775 - Source isolated-functions.sh before trying to call vecho.
authorZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 17:08:48 +0000 (17:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 17:08:48 +0000 (17:08 -0000)
(trunk r10235)

svn path=/main/branches/2.1.2/; revision=10236

bin/dodoc

index 0c6b42a0219c0c6e27286f70bfd1a2f7246a37a1..aa11b7ff5477b0f0d0405dfea19fc14b2a0482ae 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