From 81a44fdfa99533b863f07dabe00cb40b0fa1ca30 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Sun, 5 Apr 2015 22:43:15 -0700 Subject: [PATCH] Remove conditional fetching from libretro-fetch.sh The partially-finished use of can_build_module() had to be pulled from libretro-fetch because how it works has changed a little bit. Don't worry too much though because libretro-super.sh already fetches using the new setup. It's just not quite ready yet. --- libretro-fetch.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 1bbed1e8..8a51812f 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -101,13 +101,11 @@ libretro_players="retroarch" libretro_devkits="devkit" if [ -n "$1" ]; then - fetch_devel="" no_more_args="" while [ -n "$1" ]; do if [[ "$1" = -* && -z "$no_more_args" ]]; then case "$1" in --) no_more_args=1 ;; - --devel) fetch_devel=1 ;; --cores) fetch_cores="$libretro_cores" ;; --devkit) fetch_devkits="$libretro_devkits" ;; --players) fetch_players="$libretro_players" ;; @@ -124,7 +122,6 @@ if [ -n "$1" ]; then done else # Make libretro-fetch.sh with no args behave traditionally by default - fetch_devel=1 fetch_cores="$libretro_cores" fetch_players="retroarch" fetch_devkit="devkit" @@ -139,7 +136,5 @@ for a in $fetch_devkits; do done for a in $fetch_cores; do - if [ -n "$fetch_devel" ] || can_build_module "$a"; then - libretro_fetch "${a%%:*}" - fi + libretro_fetch "${a%%:*}" done