From 6baad9c5fae4a7b8ea07376a0be52443eaa488fa Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 7 Oct 2023 09:25:58 -0400 Subject: Environment fixes on beryllium Getting beryllium setup with the omnirepo showed that a few things needed fixed. --- Biz/Ide/hooks/pre-commit.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Biz/Ide/hooks') diff --git a/Biz/Ide/hooks/pre-commit.bash b/Biz/Ide/hooks/pre-commit.bash index 2b4575c..560eee7 100755 --- a/Biz/Ide/hooks/pre-commit.bash +++ b/Biz/Ide/hooks/pre-commit.bash @@ -8,9 +8,9 @@ for ns in ${changed[@]} do version=$(${CODEROOT:?}/Biz/Ide/version $ns) - if (( $version == -1 )); then + if [[ $version -eq -1 ]]; then echo "info: version: $ns: deleted" - elif (( $version < 1 )); then + elif [[ $version -lt 1 ]]; then echo "fail: version: $ns: $version" exit 1 else -- cgit v1.2.3