aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-10-31 14:40:55 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-10-31 14:40:55 +0000
commit084345e8e3ef6ef81a620d929458c18e8acaf6a4 (patch)
tree66febed70eea7199a3f8d0eaf61c1f8a41dce16e
parent1cc26f5bbd6d01820a00ba3932c2bfbe8ab08b9d (diff)
downloadpaludis-084345e8e3ef6ef81a620d929458c18e8acaf6a4.tar.gz
paludis-084345e8e3ef6ef81a620d929458c18e8acaf6a4.tar.xz
slash isn't necessarily /
-rw-r--r--paludis/repositories/e/pipe_command_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/pipe_command_handler.cc b/paludis/repositories/e/pipe_command_handler.cc
index 639fba1..cf34782 100644
--- a/paludis/repositories/e/pipe_command_handler.cc
+++ b/paludis/repositories/e/pipe_command_handler.cc
@@ -271,7 +271,7 @@ paludis::erepository::pipe_command_handler(const Environment * const environment
Filter root((filter::All()));
if (tokens[2] == "--slash")
- root = filter::InstalledAtSlash();
+ root = filter::InstalledAtRoot(environment->system_root_key()->value());
else if (tokens[2] == "--root")
root = filter::InstalledAtRoot(environment->preferred_root_key()->value());
else
@@ -320,7 +320,7 @@ paludis::erepository::pipe_command_handler(const Environment * const environment
Filter root((filter::All()));
if (tokens[2] == "--slash")
- root = filter::InstalledAtSlash();
+ root = filter::InstalledAtRoot(environment->system_root_key()->value());
else if (tokens[2] == "--root")
root = filter::InstalledAtRoot(environment->preferred_root_key()->value());
else