From e3f46b17292dd3c5f2fe0d780226b78f90741433 Mon Sep 17 00:00:00 2001 From: Hailang Date: Sat, 5 Apr 2025 16:22:07 +0800 Subject: [PATCH] Update build.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 git status 命令调用中的拼写错误 --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 85d75c4..d0da64d 100755 --- a/build.sh +++ b/build.sh @@ -16,7 +16,7 @@ fi ## 检查代码仓库是否是 dirty(默认dirty) GIT_TREE_STATE="dirty" -is_clean=$(shell git status --porcelain 2>/dev/null) +is_clean=$(git status --porcelain 2>/dev/null) if [[ -z ${is_clean} ]];then GIT_TREE_STATE="clean" fi