Fully fix libretro-fetch.sh (mostly --devkit)

This commit is contained in:
T. Joseph Carter 2015-04-05 23:23:06 -07:00
parent 6a9f434636
commit 803f23ee3a

View File

@ -76,7 +76,6 @@ libretro_fetch() {
} }
libretro_players="retroarch" libretro_players="retroarch"
libretro_devkits="devkit"
if [ -n "$1" ]; then if [ -n "$1" ]; then
no_more_args="" no_more_args=""
@ -101,16 +100,16 @@ if [ -n "$1" ]; then
else else
# Make libretro-fetch.sh with no args behave traditionally by default # Make libretro-fetch.sh with no args behave traditionally by default
fetch_cores="$libretro_cores" fetch_cores="$libretro_cores"
fetch_players="retroarch" fetch_players="$libretro_players"
fetch_devkit="devkit" fetch_devkit="$libretro_devkits"
fi fi
for a in $fetch_players; do for a in $fetch_players; do
libretro_fetch $a libretro_fetch "${a%%:*}"
done done
for a in $fetch_devkits; do for a in $fetch_devkits; do
libretro_fetch $a libretro_fetch "${a%%:*}"
done done
for a in $fetch_cores; do for a in $fetch_cores; do