diff options
author | 2011-01-27 20:08:06 +0000 | |
---|---|---|
committer | 2011-01-27 20:13:27 +0000 | |
commit | 5b92093cceab1dc3f2e0a9ca00436cafa445dd80 (patch) | |
tree | 7588bc273047813150cd82208aff7b9386ae8f46 | |
parent | eef0a4a7287dd35d0224a915ee46ae81e8977ec6 (diff) | |
download | paludis-5b92093cceab1dc3f2e0a9ca00436cafa445dd80.tar.gz paludis-5b92093cceab1dc3f2e0a9ca00436cafa445dd80.tar.xz |
Show compressing splits as spz
-rw-r--r-- | paludis/repositories/e/e_stripper.cc | 6 | ||||
-rw-r--r-- | paludis/repositories/unpackaged/unpackaged_stripper.cc | 6 |
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 |