From 17d2d7889778ac104f7618bd200bb2026b3664b2 Mon Sep 17 00:00:00 2001 From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Thu, 12 Mar 2026 03:57:13 +0300 Subject: [PATCH] Auto-commit: Makefile updated on 3/12/2026, 2026-03-12T00:57:13.733Z --- Makefile | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index c6ed6f802..417b9cf19 100644 --- a/Makefile +++ b/Makefile @@ -42,16 +42,22 @@ export BUILD_DIR REPO_DIR ALL_RSC GLOB_RSC run: @$(MAKE) check; rc=$$?; \ if [ $$rc -eq 0 ]; then \ - echo "[run] check rc=0, go to commitinfo.sh..."; \ - $(MAKE) $(commitinfo.sh); \ - echo "[run] commitinfo.sh exit 0. Go to checksums.sh..."; \ - $(MAKE) checksums; \ - echo "[run] checksums.sh exit 0. Do git add commit and push..."; \ - git add .; \ - git commit -m '$(COMM_INFO)'; \ - git push; \ + echo "[run] check $$rc, go to commitinfo.sh..."; \ + @$(MAKE) $(commitinfo.sh); ci=$$?; \ + if [ $$ci -eq 0 ]; then \ + echo "[run] commitinfo.sh exit $$ci. Go to checksums.sh..."; \ + @$(MAKE) checksums; cs=$$?; \ + if [ $$cs -eq 0 ]; then \ + echo "[run] checksums.sh exit $$rc. Do git add commit and push..."; \ + git add .; \ + git commit -m '$(COMM_INFO)'; \ + git push; \ + else \ + $(MAKE) notify "[run] checksums.sh exit $$cs, check it!"; \ + else \ + $(MAKE) notify "[run] commitinfo.sh exit $$ci, check it!"; \ else \ - echo "[run] check rc=$$rc, stop"; \ + echo "[run] check exit $$rc, repo is clean exit Ok."; \ fi @echo "[run] done" -- 2.52.0