From: Lock l00p Date: Thu, 28 Sep 2023 19:28:56 +0000 (+0000) Subject: Proper indentation X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0d13e63ecc2a2724e9c781eb56336352b09220d2;p=xonotic%2Fxonotic.git Proper indentation --- 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