]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
fix another typo
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 41040a1290bb0e4105a164454fca0d755818123d..317f775987a00e72d69c1096dfe1240960e72725 100755 (executable)
--- a/all
+++ b/all
@@ -278,8 +278,8 @@ mkzip()
        shift
        ziplist=`mktemp`
        find "$@" -xtype f \( -executable -or -type l \) -print > "$ziplist"
-       7za a -tzip -mx=9 -x@"$ziplist" "$archive" || true
-       zip         -9y   -@<"$ziplist" "$archive" || true
+       7za a -tzip -mx=9 -x@"$ziplist" "$archive" "$@" || true
+       zip         -9y   -@<"$ziplist" "$archive"      || true
        rm -f "$ziplist"
 }
 
@@ -1227,7 +1227,7 @@ case "$cmd" in
                fi
                verbose export git_src_repo="$d0/$src" # skip hash-object
                verbose "$SELF" release-buildpk3-transform-$transform "Xonotic/temp"
-               verbose mkzip "../../$dst" .
+               verbose mkzip "../../$dst" *
                verbose cd ../..
                verbose rm -rf Xonotic/temp
                ;;
@@ -1269,6 +1269,8 @@ case "$cmd" in
                ;;
        release-zip)
                stamp=`cat Xonotic/stamp.txt`
+               # exe and dll files do not need +x, so this makes them eligible for 7zip compression too
+               chmod a-x Xonotic/*.exe Xonotic/*.dll || true
                # need to use infozip for these (+x bits)
                verbose mkzip Xonotic-$stamp-engine.zip \
                        Xonotic/*.dll \