mirror of
https://github.com/libretro/libretro-super
synced 2025-02-03 20:54:12 +00:00
libretro-buildbot-recipe.sh: Automatically detect if there are submodules.
This commit is contained in:
parent
42d37c012e
commit
2a764be9ba
@ -634,32 +634,32 @@ while read line; do
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${TYPE}" = "PROJECT" ]; then
|
||||
FORCE_ORIG=$FORCE
|
||||
OLDBUILD=$BUILD
|
||||
FORCE_ORIG=$FORCE
|
||||
OLDBUILD=$BUILD
|
||||
|
||||
if [ "${PREVCORE}" = "mame2014" ] && [ "${PREVBUILD}" = "YES" ] && [ "${NAME}" = "mess2014" ]; then
|
||||
if [ "${PREVCORE}" = "mame2014" ] && [ "${PREVBUILD}" = "YES" ] && [ "${NAME}" = "mess2014" ]; then
|
||||
FORCE="YES"
|
||||
BUILD="YES"
|
||||
fi
|
||||
|
||||
if [ "${PREVCORE}" = "mess2014" ] && [ "${PREVBUILD}" = "YES" ] && [ "${NAME}" = "ume2014" ]; then
|
||||
FORCE="YES"
|
||||
BUILD="YES"
|
||||
fi
|
||||
|
||||
if [[ "${PREVCORE}" == *fbalpha2012* ]] && [[ "${PREVBUILD}" = "YES" ]] && [[ "${NAME}" == *fbalpha2012* ]]; then
|
||||
FORCE="YES"
|
||||
BUILD="YES"
|
||||
fi
|
||||
|
||||
for core in 81 emux_nes emux_sms fuse gw mame2010 mgba snes9x_next snes9x-next vba_next; do
|
||||
if [ "${PREVCORE}" = "$core" ] && [ "${PREVBUILD}" = "YES" ] && [ "${NAME}" = "$core" ]; then
|
||||
FORCE="YES"
|
||||
BUILD="YES"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "${PREVCORE}" = "mess2014" ] && [ "${PREVBUILD}" = "YES" ] && [ "${NAME}" = "ume2014" ]; then
|
||||
FORCE="YES"
|
||||
BUILD="YES"
|
||||
fi
|
||||
|
||||
if [[ "${PREVCORE}" == *fbalpha2012* ]] && [[ "${PREVBUILD}" = "YES" ]] && [[ "${NAME}" == *fbalpha2012* ]]; then
|
||||
FORCE="YES"
|
||||
BUILD="YES"
|
||||
fi
|
||||
|
||||
for core in 81 emux_nes emux_sms fuse gw mame2010 mgba snes9x_next snes9x-next vba_next; do
|
||||
if [ "${PREVCORE}" = "$core" ] && [ "${PREVBUILD}" = "YES" ] && [ "${NAME}" = "$core" ]; then
|
||||
FORCE="YES"
|
||||
BUILD="YES"
|
||||
fi
|
||||
done
|
||||
elif [ "${TYPE}" = "SUBMODULE" ]; then
|
||||
if git config --file .gitmodules --name-only --get-regexp path 2>&1 >/dev/null; then
|
||||
git submodule update --init --recursive
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user