summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2023-04-18 02:07:10 +0000
committerLed Mitz <smoothshifter@tuta.io>2023-04-18 02:07:10 +0000
commite5452dcccee0ba79a87ecd18816f477f7ce91799 (patch)
treedde8334d7a5ac71f40314aba413d40114f340fba
parentdab80b7f464a42bb6af9232b6318c779b7a58f71 (diff)
downloadtools-e5452dcccee0ba79a87ecd18816f477f7ce91799.tar.gz
tools-e5452dcccee0ba79a87ecd18816f477f7ce91799.tar.bz2
tools-e5452dcccee0ba79a87ecd18816f477f7ce91799.tar.xz
tools-e5452dcccee0ba79a87ecd18816f477f7ce91799.zip
Update make-updates.sh. Added missing -o to finds.
-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