aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-31 15:57:59 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-31 15:57:59 +0100
commit9d25bf3a35e477fe9aba38615ebf7609cedfd7aa (patch)
tree2a52b424e7623dc4a2483d03554d7c8cea5b24a0
parent5f87d680ce4dbf996caa81b3f82f30e06dc0a0c6 (diff)
downloadpaludis-9d25bf3a35e477fe9aba38615ebf7609cedfd7aa.tar.gz
paludis-9d25bf3a35e477fe9aba38615ebf7609cedfd7aa.tar.xz
Do symlink rewriting during checks
-rw-r--r--paludis/merger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/merger.cc b/paludis/merger.cc
index f81f9f4..4a49b1b 100644
--- a/paludis/merger.cc
+++ b/paludis/merger.cc
@@ -342,7 +342,7 @@ Merger::on_sym(bool is_check, const FSEntry & src, const FSEntry & dst)
{
if (! _imp->params.options()[mo_rewrite_symlinks])
on_error(is_check, "Symlink to image detected at: " + stringify(src) + " (" + src.readlink() + ")");
- else if (! is_check)
+ else if (is_check)
rewrite_symlink_as_needed(src, dst);
}