summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-02-25 12:32:21 -0800
committerZac Medico <zmedico@gentoo.org>2011-03-01 12:52:18 -0800
commit7248b26beb471eb02ceaf7e513de1124d1ad3600 (patch)
tree2753a1441f93898032af8a3394fd49134be5c19c /bin
parent9c38ee773137964eb05abbf4f32bc7f5b7352d95 (diff)
downloadportage-7248b26beb471eb02ceaf7e513de1124d1ad3600.tar.gz
portage-7248b26beb471eb02ceaf7e513de1124d1ad3600.tar.bz2
portage-7248b26beb471eb02ceaf7e513de1124d1ad3600.zip
doins: fix dodoc directory error handling
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild-helpers/doins4
1 files changed, 4 insertions, 0 deletions
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