X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Ftools%2Fcompilationunits.sh;h=e3d1eb01368df1c714c55d7264eda99e89ff8bbd;hb=05776c4204bf73c8ebc84e615ad088af45ebe5ed;hp=e835fa67135e5145c0c8bd97ace8512c05492b4f;hpb=6c3362162e191402de680067e86ced4331550117;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/tools/compilationunits.sh b/qcsrc/tools/compilationunits.sh index e835fa671..e3d1eb013 100755 --- a/qcsrc/tools/compilationunits.sh +++ b/qcsrc/tools/compilationunits.sh @@ -74,6 +74,12 @@ function check() { done } -check client -check server -check menu +if [ ${#@} -eq 0 ]; then + check client + check server + check menu +else + for var in ${@}; do + check ${var} + done +fi