Add resolveVersion for TYPE=CURSEFORGE (#2237)

This commit is contained in:
Geoff Bourne
2023-06-18 19:58:29 -05:00
committed by GitHub
parent e5fe913a74
commit b615dbf6c4

View File

@@ -24,6 +24,11 @@ loadForgeVars() {
isDebugging && set -x
if [[ ${VERSION^^} == LATEST ]]; then
log "WARNING for the old TYPE=CURSEFORGE mechanism it is best to set VERSION to a specific value"
fi
resolveVersion
: "${FTB_BASE_DIR:=${CF_BASE_DIR:-/data/FeedTheBeast}}"
export FTB_BASE_DIR