diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 105d3173..916ca50d 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -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