commit 4616464819808e1def0869c197a918cc3927da3c
parent 66750f996c85257a61f6714e30b65ce7b6bb2a77
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Mon, 12 May 2025 17:18:43 +0000
Fix git submodule state regexp
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/build-commit b/util/build-commit
@@ -38,7 +38,7 @@ git restore .
git checkout $1
git submodule update --init
-if git submodule status --cached | grep '^[ ]'; then
+if git submodule status --cached | grep '^[^ ]'; then
fatal_e111 "failed to get defined submodule states"
fi