]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xzipdiff
zipdiff: use a trick from ./all: use BOTH infozip AND 7zip to make best possible...
[xonotic/xonotic.git] / misc / tools / xzipdiff
index 03824bed1a144918570d4e45515f581979391a13..25c85f7c35a5d65440d549466a5e3363fd8d7b5a 100755 (executable)
@@ -33,7 +33,7 @@ makepatchname()
        echo "$prefix$fromversion"patch"$toversion$suffix"
 }
 
-zipdiff -z "zip -9r" -f "$from" -t "$to" -o "$output" -x "$excludes"
+zipdiff -f "$from" -t "$to" -o "$output" -x "$excludes"
 
 tempdir=`mktemp -d -t zipdiff.XXXXXX`
 cd "$tempdir"
@@ -47,7 +47,7 @@ for x in $excludes; do
        patchname=`makepatchname "$x" "$fromname" "$toname"`
        patchdir="c/$patchname"; patchdir=${patchdir%/*}
        mkdir -p "$patchdir"
-       zipdiff -z "zip -9r" -f a/"$fromname" -t b/"$toname" -o c/"$patchname"
+       zipdiff -f a/"$fromname" -t b/"$toname" -o c/"$patchname"
        if [ -f c/"$patchname" ]; then
                (cd c && zip -0r "$output" "$patchname")
        fi