From 076138efdd754aa268fe7ba40d99cfd237dbd1cf Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 24 Apr 2023 10:50:37 -0700 Subject: [PATCH] Fix the validate-comps git status check ...this is how you do that. Signed-off-by: Adam Williamson --- ci/validate-comps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/validate-comps b/ci/validate-comps index 7377ae31..e3ce5f77 100755 --- a/ci/validate-comps +++ b/ci/validate-comps @@ -15,7 +15,7 @@ main() { } # Fail if any changes were made to the repo - if [[ -n "(git status --short)" ]]; then + if [[ -n $(git status --short) ]]; then echo "git status failed!" ((failure+=1)) fi