From 89f1d4e9a69fe088f391034e72e2c55120986783 Mon Sep 17 00:00:00 2001 From: Christoph Klaffl Date: Sat, 8 Dec 2018 14:13:54 +0100 Subject: [PATCH] run compress commands bare too --- syncoid | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/syncoid b/syncoid index 9530b00..495f712 100755 --- a/syncoid +++ b/syncoid @@ -673,51 +673,51 @@ sub compressargset { decomargs => '', }, 'gzip' => { - rawcmd => '/bin/gzip', + rawcmd => 'gzip', args => '-3', - decomrawcmd => '/bin/zcat', + decomrawcmd => 'zcat', decomargs => '', }, 'pigz-fast' => { - rawcmd => '/usr/bin/pigz', + rawcmd => 'pigz', args => '-3', - decomrawcmd => '/usr/bin/pigz', + decomrawcmd => 'pigz', decomargs => '-dc', }, 'pigz-slow' => { - rawcmd => '/usr/bin/pigz', + rawcmd => 'pigz', args => '-9', - decomrawcmd => '/usr/bin/pigz', + decomrawcmd => 'pigz', decomargs => '-dc', }, 'zstd-fast' => { - rawcmd => '/usr/bin/zstd', + rawcmd => 'zstd', args => '-3', - decomrawcmd => '/usr/bin/zstd', + decomrawcmd => 'zstd', decomargs => '-dc', }, 'zstd-slow' => { - rawcmd => '/usr/bin/zstd', + rawcmd => 'zstd', args => '-19', - decomrawcmd => '/usr/bin/zstd', + decomrawcmd => 'zstd', decomargs => '-dc', }, 'xz' => { - rawcmd => '/usr/bin/xz', + rawcmd => 'xz', args => '', - decomrawcmd => '/usr/bin/xz', + decomrawcmd => 'xz', decomargs => '-d', }, 'lzo' => { - rawcmd => '/usr/bin/lzop', + rawcmd => 'lzop', args => '', - decomrawcmd => '/usr/bin/lzop', + decomrawcmd => 'lzop', decomargs => '-dfc', }, 'lz4' => { - rawcmd => '/usr/bin/lz4', + rawcmd => 'lz4', args => '', - decomrawcmd => '/usr/bin/lz4', + decomrawcmd => 'lz4', decomargs => '-dc', }, );