X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=all;h=41040a1290bb0e4105a164454fca0d755818123d;hp=71e997153f17d3a2532edbcee96c20dbd7a6eaab;hb=ad9d4b2c72a3532bca59b988ceb10b7601b49de6;hpb=39b629c021118676322eb7ee39e7a1e611c1b313 diff --git a/all b/all index 71e99715..41040a12 100755 --- a/all +++ b/all @@ -277,9 +277,10 @@ mkzip() archive=$1 shift ziplist=`mktemp` - find "$@" -xtype f \( -type f -not -executable \) -print > "$ziplist"; 7za a -tzip -mx=9 -i@"$ziplist" "$archive" || true + find "$@" -xtype f \( -executable -or -type l \) -print > "$ziplist" + 7za a -tzip -mx=9 -x@"$ziplist" "$archive" || true + zip -9y -@<"$ziplist" "$archive" || true rm -f "$ziplist" - find "$@" -xtype f \( -not \( -type f -not -executable \) \) -print | zip -9y -@ "$archive" || true } mkzip0()