mirror of https://github.com/digint/btrbk
Allow 2 digits as argument to compressor's `-c`
Support compression `-c` argument with more than one digit (eg zstd compression levels 10 to 22)pull/617/head
parent
e68430cbe8
commit
03c1d7fb1a
|
@ -79,7 +79,7 @@ reject_filtered_cmd()
|
|||
|
||||
if [ -n "${allow_compress}" ]; then
|
||||
decompress_match="(${compress_list}) -d -c( -[pT][0-9]+)?( --long(=[0-9]+)?)?( --adapt)?"
|
||||
compress_match="(${compress_list}) -c( -[0-9])?( -[pT][0-9]+)?( --long(=[0-9]+)?)?( --adapt)?"
|
||||
compress_match="(${compress_list}) -c( -[0-9]{1,2})?( -[pT][0-9]+)?( --long(=[0-9]+)?)?( --adapt)?"
|
||||
else
|
||||
decompress_match=
|
||||
compress_match=
|
||||
|
|
Loading…
Reference in New Issue