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

This commit is contained in:
T. Joseph Carter 2015-04-05 23:23:06 -07:00
parent cd83f2a59e
commit 81a19b66d5

View File

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