From 7b7be7a68ef4e05f99ebe8b4f80ffb73b07648ed Mon Sep 17 00:00:00 2001 From: vados-dev Date: Fri, 6 Mar 2026 20:00:09 +0300 Subject: [PATCH] Auto-commit: Makefile updated on 3/6/2026 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9f2448f34..ddcfad049 100644 --- a/Makefile +++ b/Makefile @@ -64,12 +64,12 @@ check-uncommitted: echo "Warning: Uncommitted changes detected! Go to autocommit steps..."; \ else \ echo "The first checks have been passed, the repo seems to be clean... But... Still, let's check a little more!"; \ - @if [ -n "$$(git status --porcelain)" ]; then \ - echo "Repository is clean (no uncommitted or untracked changes). Exit 0."; \ - exit 0; \ - else \ + if git status --porcelain; then \ echo "Error! Git status is not porcelain! Check it mannualy. Exit 1."; \ exit 1; \ + else \ + echo "Repository is clean (no uncommitted or untracked changes). Exit 0."; \ + exit 0; \ fi \ fi -- 2.52.0