Fully fix libretro-fetch.sh (mostly --devkit)
This commit is contained in:
parent
cd83f2a59e
commit
81a19b66d5
|
@ -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