mirror of
https://github.com/libretro/libretro-super
synced 2024-12-25 15:20:40 +00:00
fetch: Allow skipping undefined URL fetches un multi-core fetch rules
This commit is contained in:
parent
ccb0b40709
commit
7bee751863
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user