Fix the validate-comps git status check

...this is how you do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-04-24 10:50:37 -07:00
parent 03776c8c48
commit 076138efdd

View File

@ -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