summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclient/make-updates.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/make-updates.sh b/client/make-updates.sh
index 53bad74..d4b6284 100755
--- a/client/make-updates.sh
+++ b/client/make-updates.sh
@@ -67,8 +67,8 @@ if [ "$UPDATE_HTTP" == "none" ] ; then
fi
echo -e "\e[96m>> Compressing files...\e[0m"
-find -path ./music -prune -path ./mods -prune -o -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X -@ $dir/files/TMW.zip
-find -path ./sfx -prune -path ./mods -prune -o -iregex ".+[.]\(ogg\)" -printf "%P\n" | zip -X -@ $dir/files/TMW-music.zip
+find -path ./music -prune -o -path ./mods -prune -o -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X -@ $dir/files/TMW.zip
+find -path ./sfx -prune -o -path ./mods -prune -o -iregex ".+[.]\(ogg\)" -printf "%P\n" | zip -X -@ $dir/files/TMW-music.zip
#find ./mods -printf "%P\n" | zip -X -@ $dir/files/TMW-mods.zip
find ./mods -type f | xargs zip -9 -r $dir/files/TMW-mods.zip
touch $dir/files/TMW-music.zip