diff --git a/setup.sh b/setup.sh index 2c3a6710b..5cde1a589 100755 --- a/setup.sh +++ b/setup.sh @@ -89,12 +89,13 @@ function updateenv() { fi echo "pip install completed" echo - if [[ $dev =~ ^[Yy]$ ]] then + if [[ $dev =~ ^[Yy]$ ]]; then ${PYTHON} -m pre-commit install if [ $? -ne 0 ]; then echo "Failed installing pre-commit" exit 1 fi + fi } # Install tab lib