From e5452dcccee0ba79a87ecd18816f477f7ce91799 Mon Sep 17 00:00:00 2001 From: Led Mitz Date: Tue, 18 Apr 2023 02:07:10 +0000 Subject: Update make-updates.sh. Added missing -o to finds. --- client/make-updates.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') 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 -- cgit v1.2.3-70-g09d2