From 0d13e63ecc2a2724e9c781eb56336352b09220d2 Mon Sep 17 00:00:00 2001 From: Lock l00p Date: Thu, 28 Sep 2023 19:28:56 +0000 Subject: [PATCH] Proper indentation --- misc/tools/all/emscripten.subr | 39 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/misc/tools/all/emscripten.subr b/misc/tools/all/emscripten.subr index 8a9551d1..fb90f541 100644 --- a/misc/tools/all/emscripten.subr +++ b/misc/tools/all/emscripten.subr @@ -138,23 +138,24 @@ if $compiled0; then verbose $MAKE $MAKEFLAGS fi verbose cd "$d0/gmqcc" - if $cleanqcc; then - verbose $MAKE $MAKEFLAGS clean - fi - if [ -n "$WE_HATE_OUR_USERS" ]; then - verbose $MAKE $MAKEFLAGS gmqcc.exe - else - verbose $MAKE $MAKEFLAGS gmqcc - fi +MAKE="make" +if $cleanqcc; then + verbose $MAKE $MAKEFLAGS clean +fi +if [ -n "$WE_HATE_OUR_USERS" ]; then + verbose $MAKE $MAKEFLAGS gmqcc.exe +else + verbose $MAKE $MAKEFLAGS gmqcc +fi - if [ -n "$MSYSTEM" ]; then - DATAMAKE=mingw32-make - else - DATAMAKE=$MAKE - fi - verbose cd "$d0/data/xonotic-data.pk3dir" - if $cleanqc; then - verbose ${DATAMAKE} QCC="../../../../gmqcc/gmqcc" "$@" $MAKEFLAGS clean - fi - verbose ${DATAMAKE} QCC="../../../../gmqcc/gmqcc" "$@" $MAKEFLAGS - # 4 levels up: data, xonotic-data, qcsrc, server +if [ -n "$MSYSTEM" ]; then + DATAMAKE=mingw32-make +else + DATAMAKE=make +fi +verbose cd "$d0/data/xonotic-data.pk3dir" +if $cleanqc; then + verbose ${DATAMAKE} QCC="../../../../gmqcc/gmqcc" "$@" $MAKEFLAGS clean +fi +verbose ${DATAMAKE} QCC="../../../../gmqcc/gmqcc" "$@" $MAKEFLAGS +# 4 levels up: data, xonotic-data, qcsrc, server -- 2.39.2