]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xzipdiff
Merge branch 'nyov/wiki' into 'master'
[xonotic/xonotic.git] / misc / tools / xzipdiff
index 25c85f7c35a5d65440d549466a5e3363fd8d7b5a..564fa413e79d211f755c3c00dbf575d6c3562076 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 from=$1
 to=$2
 output=$3
@@ -34,6 +36,7 @@ makepatchname()
 }
 
 zipdiff -f "$from" -t "$to" -o "$output" -x "$excludes"
+# or maybe just include ALL not excluded files from $to in $output?
 
 tempdir=`mktemp -d -t zipdiff.XXXXXX`
 cd "$tempdir"