mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 11:14:11 +00:00
Make error checking better
This commit is contained in:
parent
c2302eba83
commit
630def8a51
@ -69,7 +69,7 @@ libretro_fetch() {
|
||||
local git_submodules
|
||||
local i
|
||||
|
||||
eval "num_git_urls=\$libretro_${1}_mgit_urls"
|
||||
eval "num_git_urls=\${libretro_${1}_mgit_urls:-0}"
|
||||
if [ "$num_git_urls" -lt 1 ]; then
|
||||
echo "Cannot fetch \"$num_git_urls\" multiple git URLs"
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user