From da381696de4a3ff43c7b240945c22ffa6c4cbde0 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 16 Jun 2013 19:44:16 +0200 Subject: [PATCH] fix arg count checking --- misc/tools/all/xonotic.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index b2ba714c..59ef5eff 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -4,7 +4,7 @@ case "$cmd" in misc/tools/xonotic-map-compiler-autobuild download ;; compile-map) - if [ -n "$1" ] ; then + if [ $# -eq 0 ] ; then msg "Usage: ./all compile-map mapname1 mapname2 mapname3" msg "For example: ./all compile-map dance xoylent" fi -- 2.39.2