mirror of
https://github.com/libretro/libretro-super
synced 2024-12-01 04:03:00 +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 git_submodules
|
||||||
local i
|
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
|
if [ "$num_git_urls" -lt 1 ]; then
|
||||||
echo "Cannot fetch \"$num_git_urls\" multiple git URLs"
|
echo "Cannot fetch \"$num_git_urls\" multiple git URLs"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user