From 4995b9b8da0ecb49ef107b287309bbae18671d68 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 15 Oct 2020 09:13:57 +1000 Subject: [PATCH] Avoid using nested quotes in the map screenshot script --- misc/tools/xonotic-map-screenshot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index f4324c14..f402d2d8 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -31,13 +31,13 @@ count=`yes x | head -n "$count" | tr -cd x` +'sv_clientcommand_antispam_time -999' \ +'sv_clientcommand_antispam_count 999' \ +'set catchme "catchme_"' \ - +"alias catchme_$count \"quit\"" \ + +"alias catchme_$count quit" \ +'alias NARF "sv_cmd nextframe cl_cmd nextframe sv_cmd nextframe cl_cmd nextframe $*"' \ +'alias ZORT "god; NARF EGAD"' \ +'alias EGAD "noclip; NARF POIT"' \ - +'alias POIT "$catchme; set catchme \"${catchme}x\"; impulse 911; NARF TROZ"' \ + +'alias POIT "$catchme; set catchme ${catchme}x; impulse 911; NARF TROZ"' \ +'alias TROZ "screenshot; NARF POIT"' \ - +'alias cl_hook_gamestart_all "defer 1.1 \"cmd join\"; defer 2 ZORT"' \ + +'alias cl_hook_gamestart_all "defer 1.1 join; defer 2 ZORT"' \ +"defer \"$watchdog\" quit" \ +"map \"$map\"" \ +'timelimit 0' \ -- 2.39.2