libretro-buildbot-recipe.sh: Remove old .libretro-core-recipe files.

This is probably not needed, but it is probably safer to make sure the
old files are removed instead of watching the core rebuild endlessly
when its not.
This commit is contained in:
orbea 2018-07-04 08:40:37 -07:00
parent 889ae6c6a6
commit f991f809ca

View file

@ -605,6 +605,7 @@ while read line; do
if [ -f "$DIR/.libretro-core-recipe" ]; then
recipe="$(cat "$DIR/.libretro-core-recipe")"
if [ "$line" != "$recipe" ]; then
rm -f -- "$DIR/.libretro-core-recipe"
echo "$line" > "$DIR/.libretro-core-recipe"
BUILD="YES"
fi