Run python scripts explicitly

This commit is contained in:
txtsd 2022-01-29 17:29:42 +00:00
parent 8cec206297
commit e4f0158a66
No known key found for this signature in database
GPG Key ID: 8E0D55E9A2557BB5

View File

@ -38,10 +38,10 @@ git reset --hard HEAD || exit 1
git checkout ${BRANCH} || exit 1 git checkout ${BRANCH} || exit 1
cd "${BASEDIR}" cd "${BASEDIR}"
./updateMojang.py || fail_in python updateMojang.py || fail_in
./updateForge.py || fail_in python updateForge.py || fail_in
./updateFabric.py || fail_in python updateFabric.py || fail_in
./updateLiteloader.py || fail_in python updateLiteloader.py || fail_in
if [ "${DEPLOY_TO_GIT}" = true ] ; then if [ "${DEPLOY_TO_GIT}" = true ] ; then
cd "${BASEDIR}/${UPSTREAM_DIR}" cd "${BASEDIR}/${UPSTREAM_DIR}"
@ -61,11 +61,11 @@ git reset --hard HEAD || exit 1
git checkout ${BRANCH} || exit 1 git checkout ${BRANCH} || exit 1
cd "${BASEDIR}" cd "${BASEDIR}"
./generateMojang.py || fail_out python generateMojang.py || fail_out
./generateForge.py || fail_out python generateForge.py || fail_out
./generateFabric.py || fail_in python generateFabric.py || fail_in
./generateLiteloader.py || fail_out python generateLiteloader.py || fail_out
./index.py || fail_out python index.py || fail_out
if [ "${DEPLOY_TO_GIT}" = true ] ; then if [ "${DEPLOY_TO_GIT}" = true ] ; then
cd "${BASEDIR}/${PMC_DIR}" cd "${BASEDIR}/${PMC_DIR}"