libretro-buildbot-recipe.sh: Set $FORCE_ORIG and $BUILD_ORIG earlier.

This commit is contained in:
orbea 2017-12-22 14:14:43 -08:00
parent e6e194a82d
commit 5c45002f39
1 changed files with 3 additions and 4 deletions

View File

@ -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