aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-27 20:08:06 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-27 20:13:27 +0000
commit5b92093cceab1dc3f2e0a9ca00436cafa445dd80 (patch)
tree7588bc273047813150cd82208aff7b9386ae8f46
parenteef0a4a7287dd35d0224a915ee46ae81e8977ec6 (diff)
downloadpaludis-5b92093cceab1dc3f2e0a9ca00436cafa445dd80.tar.gz
paludis-5b92093cceab1dc3f2e0a9ca00436cafa445dd80.tar.xz
Show compressing splits as spz
-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 185cb16..2354284 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 fcbb7fa..8cc76d8 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