@$(MAKE) check; rc=$$?; \
if [ $$rc -eq 0 ]; then \
echo "[run] check $$rc, go to commitinfo.sh..."; \
- @$(MAKE) $(commitinfo.sh); ci=$$?; \
+ $(MAKE) $(commitinfo.sh); ci=$$?; \
if [ $$ci -eq 0 ]; then \
echo "[run] commitinfo.sh exit $$ci. Go to checksums.sh..."; \
- @$(MAKE) checksums; cs=$$?; \
+ $(MAKE) checksums; cs=$$?; \
if [ $$cs -eq 0 ]; then \
- echo "[run] checksums.sh exit $$rc. Do git add commit and push..."; \
+ echo "[run] checksums.sh exit $$cs. 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 \
+ fi \
+ else \
$(MAKE) notify "[run] commitinfo.sh exit $$ci, check it!"; \
+ fi \
else \
echo "[run] check exit $$rc, repo is clean exit Ok."; \
fi
printf "%s\n" "$dirty"
echo "[check_repo] resolve conflicts and run: git add <files> && git commit"
bash bin/notify_telegram.sh "STOP: repo conflicts in $(pwd)"
- exit 2
+ exit 1
fi
# Exit 0 only when repo is NOT clean to allow autocommit flow.
if git diff --quiet && git diff --cached --quiet && [[ -z "$lsfiles" ]]; then
echo "[check_repo] repo clean. Exit 1 from check_repo.sh."
- exit 2
+ exit 1
else
echo "[check_repo] repo not clean. Exit 0 from check_repo.sh."
exit 0
:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/158/3c1bc494";
+:global CommitId "main/161/17d2d788";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 03:34:24 12.03.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 04:06:27 12.03.2026.";
# The variables are received right here.
:global GlobalConfVersion 138;