Fixed dist-cores.sh script

This commit is contained in:
Daniel Jimenez 2017-06-17 14:36:19 -07:00
parent 5267b630f8
commit bcae2fdc9b

View File

@ -171,8 +171,9 @@ fi
COUNTER=0
#for f in *_${platform}.${EXT} ; do
for f in `ls -v *_${platform}.${EXT}`; do
for f in `ls -v ../*_${platform}.${EXT}`; do
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).${EXT}$//"`
name=${name#../*}
async=0
pthread=0
lto=0
@ -335,7 +336,7 @@ for f in `ls -v *_${platform}.${EXT}`; do
elif [ $PLATFORM = "ngc" ] ; then
rm -f ../retroarch_${platform}.dol ../retroarch_${platform}.elf ../retroarch_${platform}.elf.map
elif [ $PLATFORM = "wii" ] ; then
rm -f ../retroarch_${platform}.dol ../retroarch_${platform}.elf ../retroarch_${platform}.elf.map
rm -f ../retroarch_${platform}.dol ../retroarch_${platform}.elf ../retroarch_${platform}.elf.map ../libretro_${platform}.a
elif [ $platform = "emscripten" ] ; then
rm -f ../${name}_libretro.js
fi