Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:2.1.9 commit in: bin/ebuild-helpers/
Date: Tue, 01 Mar 2011 21:04:10
Message-Id: 7248b26beb471eb02ceaf7e513de1124d1ad3600.zmedico@gentoo
1 commit: 7248b26beb471eb02ceaf7e513de1124d1ad3600
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 25 20:32:21 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 1 20:52:18 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7248b26b
7
8 doins: fix dodoc directory error handling
9
10 ---
11 bin/ebuild-helpers/doins | 4 ++++
12 1 files changed, 4 insertions(+), 0 deletions(-)
13
14 diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins
15 index c549791..0aedcb9 100755
16 --- a/bin/ebuild-helpers/doins
17 +++ b/bin/ebuild-helpers/doins
18 @@ -89,6 +89,10 @@ for x in "$@" ; do
19 if [[ $PRESERVE_SYMLINKS = n && -d $x ]] || \
20 [[ $PRESERVE_SYMLINKS = y && -d $x && ! -L $x ]] ; then
21 if [ "${DOINSRECUR}" == "n" ] ; then
22 + if [[ ${0##*/} == dodoc ]] ; then
23 + echo "!!! ${0##*/}: $x is a directory" 1>&2
24 + ((failed|=1))
25 + fi
26 continue
27 fi