Make error checking better

This commit is contained in:
T. Joseph Carter 2015-03-06 20:51:08 -08:00
parent c2302eba83
commit 630def8a51

View File

@ -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