]> err.no Git - dpkg/commit
Simplify Dpkg::Source::Compressor by using the extended fork_and_exec()
authorRaphael Hertzog <hertzog@debian.org>
Fri, 15 Feb 2008 18:34:32 +0000 (19:34 +0100)
committerRaphael Hertzog <hertzog@debian.org>
Fri, 15 Feb 2008 18:34:32 +0000 (19:34 +0100)
commit71cd4f86ab08ce4a7713c83daaa5f9d3bee9cd75
tree9edd505e25c68163030363c2dde28e02d6b960e7
parent1a4277f41bd2fd62dac94cdddea2d4db3eccbb5a
Simplify Dpkg::Source::Compressor by using the extended fork_and_exec()

* scripts/Dpkg/Source/Compressor.pm: Replace the multiple compress_*
functions by a single compress() function that accepts the same
parameters than fork_and_exec(). The exec parameter is replaced
with the right compressor/decompressor invocation, and some other
parameters have default values.
Same for uncompress_* replaced by uncompress().
* scripts/dpkg-source.pl: Update accordingly to use the new syntax.
scripts/Dpkg/Source/Compressor.pm
scripts/dpkg-source.pl