From 422675b1e141c8f75449c272ec5c4c47e235d230 Mon Sep 17 00:00:00 2001 From: radius Date: Tue, 17 Mar 2015 23:46:52 -0400 Subject: [PATCH] yet another fix --- libretro-buildbot-recipe.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index 9df2fc89..0169c054 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -549,6 +549,9 @@ while read line; do BUILD="YES" fi + OLDFORCE=$FORCE + OLDBUILD=$BUILD + if [ "${PREVCORE}" = "bsnes" -a "${PREVBUILD}" = "YES" -a "${COMMAND}" = "BSNES" ]; then FORCE="YES" BUILD="YES" @@ -564,7 +567,7 @@ while read line; do BUILD="YES" fi - if [[ "${PREVCORE}" =~ *.fb.* ]] && [[ "${PREVBUILD}" = "YES" ]] && [[ "${NAME}" =~ .*fba.* ]]; then + if [[ "${PREVCORE}" == *fb* ]] && [[ "${PREVBUILD}" = "YES" ]] && [[ "${NAME}" == *fb* ]]; then FORCE="YES" BUILD="YES" fi @@ -646,6 +649,10 @@ while read line; do cd "${BASE_DIR}" PREVCORE=$NAME PREVBUILD=$BUILD + + BUILD=$OLDBUILD + FORCE=$OLDFORCE + done < $1 echo "BUILDBOT JOB: $jobid Building Retroarch"