we CAN continue to keep these libs in git, we just need to disable them in releases
authorRudolf Polzer <divverent@alientrap.org>
Fri, 17 Sep 2010 22:01:51 +0000 (00:01 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 17 Sep 2010 22:01:51 +0000 (00:01 +0200)
all

diff --git a/all b/all
index 2592fde..630d6a0 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 \