aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2008-03-22 22:18:42 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2008-03-22 22:18:42 +0000
commit0ad235ed7040e13a492f4b77ba8c940dc001919e (patch)
tree88835196ca8efbf1bf0927b685210fa23467770f
parented69621d97b88e665ef17ea1ec725c7b841fcbf0 (diff)
downloadpaludis-0ad235ed7040e13a492f4b77ba8c940dc001919e.tar.gz
paludis-0ad235ed7040e13a492f4b77ba8c940dc001919e.tar.xz
--executables should check that symlink is in path, not symlink target.
-rw-r--r--src/clients/paludis/do_executables.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/paludis/do_executables.cc b/src/clients/paludis/do_executables.cc
index c8747f9..2bcc5b9 100644
--- a/src/clients/paludis/do_executables.cc
+++ b/src/clients/paludis/do_executables.cc
@@ -77,7 +77,7 @@ namespace
FSEntry sym(e.name());
FSEntry real(sym.realpath_if_exists());
if (sym != real)
- if (is_file_in_path(real))
+ if (is_file_in_path(sym))
cout << " " << colour(cl_sym, e.name()) << endl;
}