From: Thomas Debesse Date: Fri, 24 Jun 2022 22:08:31 +0000 (+0200) Subject: gamepack-manager: more reliable extra-urls.txt parsing X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=782b5814f46a96a3aff14bbd51e04f0608de89f4;p=xonotic%2Fnetradiant.git gamepack-manager: more reliable extra-urls.txt parsing Make it works even when the shell transforms \n from stdin into \r\n on Windows. --- diff --git a/gamepack-manager b/gamepack-manager index 232c7596..efcb751f 100755 --- a/gamepack-manager +++ b/gamepack-manager @@ -294,11 +294,12 @@ downloadExtraUrls () { if [ -f 'extra-urls.txt' ] then - while IFS=' ' read -r extra_file extra_url + local line + while read line do - ( - ${WGET} -O "${extra_file}" "${extra_url}" - )