fix duplicate projects subpath (#371)

`CURSE_URL_BASE` already had `/projects` appended to it, missed it by mistake
This commit is contained in:
Tyler Page 2019-08-03 12:47:41 +00:00 committed by Geoff Bourne
parent 19e39b84ec
commit f02baa8761

View File

@ -89,7 +89,7 @@ case "X$EFFECTIVE_MANIFEST_URL" in
do
if [ ! -f $MOD_DIR/${p}_${f}.jar ]
then
redirect_url="$(curl -Ls -o /dev/null -w %{url_effective} ${CURSE_URL_BASE}/projects/${p})"
redirect_url="$(curl -Ls -o /dev/null -w %{url_effective} ${CURSE_URL_BASE}/${p})"
url="$redirect_url/download/${f}/file"
echo Downloading curseforge mod $url
# Manifest usually doesn't have mod names. Using id should be fine, tho