diff --git a/gitlab-build.sh b/gitlab-build.sh
index ab899b89ec9eae6bd509125ebc144f6f9d938ac5..a50b26406a02e00b39fa30d2c65659a4491b5e4c 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -138,7 +138,7 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then
 		export VER_DIR=$GIT_BRANCH
 		export PAGES_SLUG=$GIT_BRANCH
 	fi
-	do_build SPHINXOPTS="-D todo_include_todos=False"
+	do_build SPHINXOPTS='-D todo_include_todos=False'
 else
 	echo "***** Not on a branch or tag *****"
 fi