Use lowercase hidden temp dir for serverbench
authorbones_was_here <bones_was_here@yahoo.com.au>
Sun, 12 Apr 2020 21:11:24 +0000 (07:11 +1000)
committerbones_was_here <bones_was_here@yahoo.com.au>
Sun, 12 Apr 2020 21:11:24 +0000 (07:11 +1000)
.gitignore
misc/tools/all/xonotic.subr

index a34881c..8a32232 100644 (file)
@@ -16,4 +16,4 @@
 
 .idea/
 /result*
-/SERVERBENCH_TEMP
+/.serverbench_temp
index 09f17c6..9d338b8 100644 (file)
@@ -395,14 +395,14 @@ case "$cmd" in
                ;;
        serverbench)
                # TODO(rpolzer): Why does :anticheat: output differ? Total game time differs? Why?
-               mkdir -p SERVERBENCH_TEMP
-               verbose "$SELF" run dedicated -noconfig -userdir SERVERBENCH_TEMP +exec serverbench.cfg |\
+               mkdir -p .serverbench_temp
+               verbose "$SELF" run dedicated -noconfig -userdir .serverbench_temp +exec serverbench.cfg |\
                        tee /dev/stderr |\
                        grep '^:' |\
                        grep -v '^:gamestart:' |\
                        grep -v '^:anticheat:' |\
                        md5sum
-               rm -rf SERVERBENCH_TEMP
+               rm -rf .serverbench_temp
                ;;
        *)
                handled=false