From 6a9f434636d1c656e6c4ca3eb14aa3dd6904fd25 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Sun, 5 Apr 2015 22:57:13 -0700 Subject: [PATCH] Remove the mgit fetch rule --- libretro-fetch.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 8a51812f..e4aa939c 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -62,28 +62,6 @@ libretro_fetch() { fetch_git "$git_url" "$module_dir" "$git_submodules" ;; - multi_git) - local num_git_urls - local git_url - local git_subdir - local git_submodules - local i - - 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 - fi - - [ "$module_dir" != "." ] && echo_cmd "mkdir -p \"$WORKDIR/$module_dir\"" - for (( i=0; i < $num_git_urls; ++i )); do - eval "git_url=\$libretro_${1}_mgit_url_$i" - eval "git_subdir=\$libretro_${1}_mgit_dir_$i" - eval "git_submodules=\$libretro_${1}_mgit_submodules_$i" - fetch_git "$git_url" "$module_dir/$git_subdir" "$git_submodules" - done - ;; - *) echo "libretro_fetch:Unknown fetch rule for $1: \"$fetch_rule\"." exit 1