Merge pull request #833 from orbea/line

libretro-buildbot-recipe.sh: Remove old .libretro-core-recipe files.
This commit is contained in:
Twinaphex 2018-07-04 17:51:35 +02:00 committed by GitHub
commit c5d306f10b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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