From: Zac Medico Date: Fri, 25 Feb 2011 20:32:21 +0000 (-0800) Subject: doins: fix dodoc directory error handling X-Git-Tag: v2.1.9.42~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7248b26beb471eb02ceaf7e513de1124d1ad3600;p=portage.git doins: fix dodoc directory error handling --- 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