fetch: Allow skipping undefined URL fetches un multi-core fetch rules

This commit is contained in:
Luis Gabriel Gomez 2022-10-01 18:55:34 -03:00
parent ccb0b40709
commit 7bee751863
No known key found for this signature in database
GPG key ID: 89C014F66E06CCF4

View file

@ -54,7 +54,11 @@ libretro_fetch() {
eval "git_url=\$libretro_${1}_git_url"
if [ -z "$git_url" ]; then
echo "libretro_fetch:No URL set to fetch $1 via git."
exit 1
if [[ "$SKIP_UNKNOWN_URL_FETCH" -ne 1 ]]; then
exit 1
else
echo "libretro_fetch:Skipping core $1"
fi
fi
eval "git_submodules=\$libretro_${1}_git_submodules"