From 84b2e7af8e02d4fe96c20dc2209898628857405c Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Wed, 26 Aug 2015 17:25:15 -0400 Subject: My done was in the wrong place Change-Id: I9e74a8eb28a65b1dbd2c719d159e5364555f026a Signed-off-by: Aric Gardner --- jjb/releng/docu-build-new.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/jjb/releng/docu-build-new.sh b/jjb/releng/docu-build-new.sh index 01827cb25..cecd65c81 100755 --- a/jjb/releng/docu-build-new.sh +++ b/jjb/releng/docu-build-new.sh @@ -19,17 +19,18 @@ while read -d $'\n'; do done < <(find docs/ -name 'index.rst' -printf '%h\n' | sort -u ) for dir in "${{directories[@]}}"; do -echo -echo "#############################" -echo "Building DOCS in ${{dir##*/}}" -echo "#############################" -echo - -if [[ ! -d docs/output/"${{dir##*/}}/" ]]; then - mkdir -p docs/output/"${{dir##*/}}/" -fi + echo + echo "#############################" + echo "Building DOCS in ${{dir##*/}}" + echo "#############################" + echo + + if [[ ! -d docs/output/"${{dir##*/}}/" ]]; then + mkdir -p docs/output/"${{dir##*/}}/" + fi -sphinx-build -b html -E -c docs/etc/ ""$dir"/" docs/output/"${{dir##*/}}/" + sphinx-build -b html -E -c docs/etc/ ""$dir"/" docs/output/"${{dir##*/}}/" +done # NOTE: make sure source parameters for GS paths are not empty. [[ $GERRIT_CHANGE_NUMBER =~ .+ ]] @@ -75,5 +76,4 @@ while read -d $'\n'; do fi - done done -- cgit 1.2.3-korg