]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
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 a34881c7648dcb9cbeb92cb13c93367c006512de..8a322326a9b61433998471b8b2cacd865ba01b50 100644 (file)
@@ -16,4 +16,4 @@
 
 .idea/
 /result*
-/SERVERBENCH_TEMP
+/.serverbench_temp
index 09f17c6c0abb21f2bab738a744f3e9cfa9b59d5c..9d338b80c24e1774b7a7727b23c91bbea742ac82 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