yet another fix

This commit is contained in:
radius 2015-03-17 23:46:52 -04:00 committed by T. Joseph Carter
parent 4b5944b5f8
commit 422675b1e1

View File

@ -549,6 +549,9 @@ while read line; do
BUILD="YES" BUILD="YES"
fi fi
OLDFORCE=$FORCE
OLDBUILD=$BUILD
if [ "${PREVCORE}" = "bsnes" -a "${PREVBUILD}" = "YES" -a "${COMMAND}" = "BSNES" ]; then if [ "${PREVCORE}" = "bsnes" -a "${PREVBUILD}" = "YES" -a "${COMMAND}" = "BSNES" ]; then
FORCE="YES" FORCE="YES"
BUILD="YES" BUILD="YES"
@ -564,7 +567,7 @@ while read line; do
BUILD="YES" BUILD="YES"
fi fi
if [[ "${PREVCORE}" =~ *.fb.* ]] && [[ "${PREVBUILD}" = "YES" ]] && [[ "${NAME}" =~ .*fba.* ]]; then if [[ "${PREVCORE}" == *fb* ]] && [[ "${PREVBUILD}" = "YES" ]] && [[ "${NAME}" == *fb* ]]; then
FORCE="YES" FORCE="YES"
BUILD="YES" BUILD="YES"
fi fi
@ -646,6 +649,10 @@ while read line; do
cd "${BASE_DIR}" cd "${BASE_DIR}"
PREVCORE=$NAME PREVCORE=$NAME
PREVBUILD=$BUILD PREVBUILD=$BUILD
BUILD=$OLDBUILD
FORCE=$OLDFORCE
done < $1 done < $1
echo "BUILDBOT JOB: $jobid Building Retroarch" echo "BUILDBOT JOB: $jobid Building Retroarch"