From 15e251fdae81c43e78443587f0eb19b0ca158bd3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 25 Feb 2011 12:32:21 -0800 Subject: [PATCH] doins: fix dodoc directory error handling --- bin/ebuild-helpers/doins | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins index c549791fc..0aedcb9e5 100755 --- a/bin/ebuild-helpers/doins +++ b/bin/ebuild-helpers/doins @@ -89,6 +89,10 @@ for x in "$@" ; do if [[ $PRESERVE_SYMLINKS = n && -d $x ]] || \ [[ $PRESERVE_SYMLINKS = y && -d $x && ! -L $x ]] ; then if [ "${DOINSRECUR}" == "n" ] ; then + if [[ ${0##*/} == dodoc ]] ; then + echo "!!! ${0##*/}: $x is a directory" 1>&2 + ((failed|=1)) + fi continue fi -- 2.26.2