]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
separate out the rijndael libraries
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 2592fde5e36e60cb491f69b7cb91e7eeb0d2429c..630d6a0e759fb2f1d26a4a1ac5f12c862b5fc790 100755 (executable)
--- a/all
+++ b/all
@@ -1287,7 +1287,14 @@ case "$cmd" in
                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)
+               # let's pass crypto import laws of some nasty countries
+               crypto_libs=`find Xonotic -name \*d0_rijndael\* -exec rm -f {} \;`
+               if [ -n "$crypto_libs" ]; then
+                       verbose mkzip Xonotic-$stamp-crypto.zip \
+                               $crypto_libs
+                       rm -f $crypto_libs
+               fi
+               # build the archives
                verbose mkzip Xonotic-$stamp-engine.zip \
                        Xonotic/*.dll \
                        Xonotic/bin64/*.dll \