From: Fabian Groffen Date: Wed, 28 Mar 2007 20:14:13 +0000 (-0000) Subject: Apparently some vital source has gotten lost somewhere. A vimdiff also X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6e70a8c28b0c6ea77fcfd4333dc8f99abaf3bab4;p=portage.git Apparently some vital source has gotten lost somewhere. A vimdiff also revealed some other differences with the trunk that are now eliminated. svn path=/main/branches/prefix/; revision=6319 --- diff --git a/bin/doman b/bin/doman index 9eb759782..1e8203215 100755 --- a/bin/doman +++ b/bin/doman @@ -1,7 +1,9 @@ #!@BASH@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id: /var/cvsroot/gentoo-src/portage/bin/doman,v 1.13.2.2 2005/07/29 05:55:34 vapier Exp $ +# $Id$ + +source "${PORTAGE_BIN_PATH:-${EPREFIX}/usr/lib/portage/bin}"/isolated-functions.sh if [[ $# -lt 1 ]] ; then echo "$0: at least one argument needed" 1>&2 @@ -37,14 +39,14 @@ for x in "$@" ; do install -d "${ED}/usr/share/man/${mandir}" fi - install -m 0644 "${x}" "${ED}/usr/share/man/${mandir}" + install -m0644 "${x}" "${ED}/usr/share/man/${mandir}" ((ret+=$?)) elif [[ ! -e ${x} ]] ; then - echo "doman: ${x} does not exist" 1>&2 + vecho "doman: ${x} does not exist" 1>&2 ((++ret)) fi else - echo "doman: '${x}' is probably not a man page; skipping" 1>&2 + vecho "doman: '${x}' is probably not a man page; skipping" 1>&2 ((++ret)) fi done