]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
dd
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 9 Mar 2026 06:23:06 +0000 (09:23 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 9 Mar 2026 06:23:06 +0000 (09:23 +0300)
Makefile

index c8769b67fa3c98d9992444f038879cd6ba27e5a3..a67e163bc5abe39bf6a008dc096b25c6b5e1d0cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ include $(BUILD_DIR)/.config/config.mk
 
 run: check
        @echo "[run] start main flow"
-       
+
     # ...
        @echo "[run] done"
 
@@ -92,8 +92,8 @@ gitcheck: $(BUILD_DIR)
        cd $ && 
        @if git diff --quiet && git diff --cached --quiet && [ -z "$$(git ls-files --others --exclude-standard)" ]; then \
                echo "The first checks have been passed, the repo seems to be clean... But... Still, let's check a little more!"; \
-           git add . && ; \ 
-               if [[ -n git status --porcelain ]]; then \
+           git add . && \
+               if [[ -n "$$(git status --porcelain)" ]]; then \
                        echo "Uncommitted changes detected! Commit it..."; \
 #                      git commit -m "$(COMM_INFO)"; \
 #                      git push; \
@@ -103,7 +103,7 @@ gitcheck: $(BUILD_DIR)
                fi \
        else \
                @echo "Warning: Uncommitted changes detected! Go to autocommit steps..."; \
-#              git branch -v; \
+               git branch -v; \
 #              git commit -am "$(COMM_INFO)"; \
 #              git push; \
        fi