lib/wyrm/dump.rb in wyrm-0.4.0 vs lib/wyrm/dump.rb in wyrm-0.4.1
- old
+ new
@@ -50,10 +50,10 @@
end
def write_through_bz2( pathname )
fio = pathname.open('w')
# open subprocess in read-write mode
- zio = IO.popen( "pbzip2 -z", 'r+' )
+ zio = IO.popen( STREAM_COMP, 'r+' )
copier = Thread.new do
begin
IO.copy_stream zio, fio
logger.debug "finished stream copy"
ensure