From 40cc26ca0241a106e1b0f37b32f57b34a0276741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 8 Jul 2019 17:05:18 +0200 Subject: [PATCH] URL encode spaces (#276) Closes #275 --- 0.17/files/update-mods.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0.17/files/update-mods.sh b/0.17/files/update-mods.sh index 8d90c5d..ee85df0 100755 --- a/0.17/files/update-mods.sh +++ b/0.17/files/update-mods.sh @@ -25,7 +25,7 @@ print_failure() update_mod() { - MOD_NAME="$1" + MOD_NAME="${1// /%20}" print_step "Checking for update of mod $MOD_NAME..."