aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-12-06 19:16:40 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-12-06 19:16:40 +0000
commit28197c59b0271b4d5feb84e997c2692021990085 (patch)
tree501fa6b21bd1e63aec751aca34c7dd0a7ea8b44d
parent0dd541dd6d5e239d52293621fd21d5770639e04f (diff)
downloadpaludis-28197c59b0271b4d5feb84e997c2692021990085.tar.gz
paludis-28197c59b0271b4d5feb84e997c2692021990085.tar.xz
Don't warn when installing empty $ROOT.
-rw-r--r--paludis/merger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/merger.cc b/paludis/merger.cc
index 1889640..739f724 100644
--- a/paludis/merger.cc
+++ b/paludis/merger.cc
@@ -154,7 +154,7 @@ Merger::do_dir_recursive(bool is_check, const FSEntry & src, const FSEntry & dst
DirIterator d(src, false), d_end;
- if (! is_check && d == d_end)
+ if (! is_check && d == d_end && dst != _options.root.realpath())
Log::get_instance()->message(ll_warning, lc_context) << "Installing empty directory '"
<< stringify(dst) << "'";