multiple cmds for -build and -fetch

This commit is contained in:
T. Joseph Carter 2015-02-02 01:29:51 -08:00
parent e556aa6432
commit 62647b60ab
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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