From 7120c6ba602f34400bfd3a67153b6d927ac7af9b Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 2 Aug 2016 12:03:06 +0200 Subject: [PATCH] Fix docs script. --- scripts/docs.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/docs.sh b/scripts/docs.sh index a674373a2..42400bc77 100755 --- a/scripts/docs.sh +++ b/scripts/docs.sh @@ -26,8 +26,7 @@ # (c) 2016 solidity contributors. #------------------------------------------------------------------------------ -if [[ "$OSTYPE" == "darwin"* ]]; then - # We aren't building docs locally for macOS at the moment -else - cd docs && sphinx-build -nW -b html -d _build/doctrees . _build/html && cd .. -fi +set -e +cd docs +sphinx-build -nW -b html -d _build/doctrees . _build/html +cd ..