libretro-buildbot-recipe.sh: Set $FORCE_ORIG and $BUILD_ORIG earlier.
This commit is contained in:
parent
e6e194a82d
commit
5c45002f39
|
@ -594,6 +594,8 @@ while read line; do
|
|||
echo
|
||||
|
||||
BUILD="NO"
|
||||
BUILD_ORIG=$BUILD
|
||||
FORCE_ORIG=$FORCE
|
||||
|
||||
if [ ! -d "${DIR}/.git" ] || [ "${CLEANUP}" = "YES" ]; then
|
||||
rm -rfv -- "$DIR"
|
||||
|
@ -635,9 +637,6 @@ while read line; do
|
|||
BUILD="YES"
|
||||
fi
|
||||
|
||||
FORCE_ORIG=$FORCE
|
||||
OLDBUILD=$BUILD
|
||||
|
||||
for core in 81 emux_nes emux_sms fuse gw mgba; do
|
||||
if [ "${PREVCORE}" = "$core" ] && [ "${PREVBUILD}" = "YES" ] && [ "${NAME}" = "$core" ]; then
|
||||
FORCE="YES"
|
||||
|
@ -682,7 +681,7 @@ while read line; do
|
|||
PREVCORE=$NAME
|
||||
PREVBUILD=$BUILD
|
||||
|
||||
BUILD=$OLDBUILD
|
||||
BUILD=$BUILD_ORIG
|
||||
FORCE=$FORCE_ORIG
|
||||
done < $RECIPE
|
||||
|
||||
|
|
Loading…
Reference in New Issue