Skip to content

Commit d4f3fb4

Browse files
committed
Warn about source dir size because we add build dirs there
1 parent 6bf5590 commit d4f3fb4

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

lib/lib.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ function check_dir_size() {
212212
warn_dir_size lib 0 &
213213
warn_dir_size logs/ddos 1 &
214214
warn_dir_size logs 0 &
215-
warn_dir_size maps 0&
215+
warn_dir_size maps 0 &
216+
warn_dir_size "$CFG_GIT_PATH_MOD" 0
216217
wait
217218
touch ./lib/tmp/size_null.txt
218219
cat ./lib/tmp/size_*.txt

status.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ then
88
fi
99

1010
source lib/lib.sh
11+
source lib/include/update/cmake.sh
1112

1213
check_warnings
1314
audit_code
1415

16+
log "current cmake build dir: ${CFG_GIT_PATH_MOD}/$(get_cmake_build_dir)"
17+
1518
if pgrep -f "$SERVER_UUID" > /dev/null
1619
then
1720
suc -n "server is up and running '$SERVER_UUID'"

0 commit comments

Comments
 (0)