[paludis-commits] paludis.git (0.30) -- d5360e0 by Santiago M. Mola
git at git.pioto.org
git at git.pioto.org
Mon Sep 22 16:46:27 EDT 2008
Module: paludis.git
Branch: 0.30
Commit: d5360e0082edc3fd416ce6e0831e45bf60614a94
URL: http://git.pioto.org/?p=paludis.git;a=commit;h=d5360e0082edc3fd416ce6e0831e45bf60614a94
Author: Santiago M. Mola <coldwind at gentoo.org>
Committer: David Leverton <levertond at googlemail.com>
Date: Mon Sep 22 20:58:27 2008 +0200
----
Prevent dohtml -r from failing with empty dirs during recursion.
----
paludis/repositories/e/ebuild/utils/dohtml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/paludis/repositories/e/ebuild/utils/dohtml b/paludis/repositories/e/ebuild/utils/dohtml
index b93b594..321d182 100755
--- a/paludis/repositories/e/ebuild/utils/dohtml
+++ b/paludis/repositories/e/ebuild/utils/dohtml
@@ -107,6 +107,7 @@ install_file() {
elif [[ $recurse == 1 && -d ${path} ]] &&
! has "${bn}" ${disallowed_dirs}; then
for f in ${path}/*; do
+ [[ -e ${f} ]] || continue
pfx=${bn}
[[ -n ${prefix} ]] && pfx="${prefix}/${pfx}"
install_file "$(basename "${f}")" "${dn}" "${pfx}"
---
More information about the paludis-commits
mailing list