mirror of
https://github.com/libretro/libretro-super
synced 2024-11-29 05:21:29 +00:00
Fully fix libretro-fetch.sh (mostly --devkit)
This commit is contained in:
parent
6a9f434636
commit
803f23ee3a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user