Skip to content

Commit 912ec0f

Browse files
authored
Fix syntax for Sphinx version check in setup sh script
1 parent a5980ad commit 912ec0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/setup.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ make -C cpython/Doc venv
3434

3535
# If cpython is set with Sphinx 9 or newer, replace it with maciek's patch
3636
sphinx_ver=$(cpython/Doc/venv/bin/python -c 'import sphinx; print(sphinx.__version__[0])')
37-
if [[ $sphinx_ver -eq 9 ]]; then
37+
if [ ${sphinx_ver} -eq 9 ]; then
3838
cpython/Doc/venv/bin/pip install git+https://github.com/m-aciek/sphinx.git@copilot/fix-last-four-cases-issue-14162
3939
fi
4040

0 commit comments

Comments
 (0)