diff --git a/libretro-build.sh b/libretro-build.sh index f92fdcb5..3e6bce69 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -91,9 +91,12 @@ echo "STRIP = $STRIP" mkdir -p "$RARCH_DIST_DIR" -if [ $1 ]; then +if [ -n "${1}" ]; then NOBUILD_SUMMARY=1 - $1 + while [ -n "${1}" ]; do + "${1}" + shift + done else build_libretro_2048 build_libretro_4do diff --git a/libretro-fetch.sh b/libretro-fetch.sh index f9446a97..5d878998 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -362,8 +362,11 @@ fetch_libretro_emux() { fetch_git "$REPO_BASE/libretro/emux.git" "libretro-emux" "libretro/Emux" } -if [ ${1} ]; then - ${1} +if [ -n "${1}" ]; then + while [ -n "${1}" ]; do + "${1}" + shift + done else fetch_retroarch fetch_tools