From 5ab5865d3e3ea0e1d2aae8a65f0310f5ab8184a2 Mon Sep 17 00:00:00 2001 From: SandPoot Date: Tue, 23 Apr 2024 23:15:43 -0300 Subject: [PATCH] stop putting invalid things here --- tools/ci/check_grep.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/ci/check_grep.sh b/tools/ci/check_grep.sh index bdf81330ef..250e489ed0 100755 --- a/tools/ci/check_grep.sh +++ b/tools/ci/check_grep.sh @@ -130,6 +130,13 @@ if grep -P --exclude='__byond_version_compat.dm' '\.proc/' code/**/*.dm; then st=1 fi; +# I'm not even sure we're meant to be setting this variable on dmms anyways, make sure it's at least an area please. +if grep -P 'areastring = "\/[^area]' _maps/**/*.dmm; then + echo + echo -e "${RED}ERROR: Bad areastring path variable for this APC, please set the areastring correctly.${NC}" + st=1 +fi; + if [ $st = 0 ]; then echo echo -e "${GREEN}No errors found using grep!${NC}"