aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/repositories/e/e_stripper.cc6
-rw-r--r--paludis/repositories/unpackaged/unpackaged_stripper.cc6
2 files changed, 8 insertions, 4 deletions
diff --git a/paludis/repositories/e/e_stripper.cc b/paludis/repositories/e/e_stripper.cc
index 185cb16a2..2354284eb 100644
--- a/paludis/repositories/e/e_stripper.cc
+++ b/paludis/repositories/e/e_stripper.cc
@@ -65,8 +65,10 @@ EStripper::on_strip(const FSPath & f)
void
EStripper::on_split(const FSPath & f, const FSPath & g)
{
- _imp->options.output_manager()->stdout_stream() << "spl " << f.strip_leading(_imp->options.image_dir()) <<
- " -> " << g.strip_leading(_imp->options.image_dir()) << std::endl;
+ _imp->options.output_manager()->stdout_stream()
+ << ((_imp->options.compress_splits()) ? "spz " : "spl ")
+ << f.strip_leading(_imp->options.image_dir())
+ << " -> " << g.strip_leading(_imp->options.image_dir()) << std::endl;
}
void
diff --git a/paludis/repositories/unpackaged/unpackaged_stripper.cc b/paludis/repositories/unpackaged/unpackaged_stripper.cc
index fcbb7fad5..8cc76d89a 100644
--- a/paludis/repositories/unpackaged/unpackaged_stripper.cc
+++ b/paludis/repositories/unpackaged/unpackaged_stripper.cc
@@ -65,8 +65,10 @@ UnpackagedStripper::on_strip(const FSPath & f)
void
UnpackagedStripper::on_split(const FSPath & f, const FSPath & g)
{
- _imp->options.output_manager()->stdout_stream() << "spl " << f.strip_leading(_imp->options.image_dir()) <<
- " -> " << g.strip_leading(_imp->options.image_dir()) << std::endl;
+ _imp->options.output_manager()->stdout_stream()
+ << ((_imp->options.compress_splits()) ? "spz " : "spl ")
+ << f.strip_leading(_imp->options.image_dir())
+ << " -> " << g.strip_leading(_imp->options.image_dir()) << std::endl;
}
void