X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=znew.in;fp=znew.in;h=fdbc78407e275382872683b530428e3dab611a71;hb=ad96056bdcf62abd585cdb53768fbabdde75d1b5;hp=ebf87abc2bdef2f3409b76a4e48c79dd00e15f14;hpb=302189d124ed5849c2589ea92e912eb24fdc4ab3;p=debian%2Fgzip diff --git a/znew.in b/znew.in index ebf87ab..fdbc784 100755 --- a/znew.in +++ b/znew.in @@ -120,8 +120,8 @@ for i do fi fi test $keep -eq 1 && new=`wc -c < "$n$ext"` - if test $keep -eq 1 -a `expr \( $old + $block - 1 \) / $block` -lt \ - `expr \( $new + $block - 1 \) / $block`; then + if test $keep -eq 1 && test `expr \( $old + $block - 1 \) / $block` -lt \ + `expr \( $new + $block - 1 \) / $block`; then if test $pipe -eq 1; then rm -f "$n$ext" elif test $check -eq 1; then