When running tools/build_docs.sh in a devstack dir that has also run tox
build_docs needlessly runs shocco on the .tox files.
Just skip them.
Change-Id: Ia561e49ea2214ac75bd55964f1b86872118b2031
| ... | ... |
@@ -75,7 +75,7 @@ rm -f $GLOG |
| 75 | 75 |
|
| 76 | 76 |
# Build list of scripts to process |
| 77 | 77 |
FILES="" |
| 78 |
-for f in $(find . -name .git -prune -o \( -type f -name \*.sh -not -path \*shocco/\* -print \)); do |
|
| 78 |
+for f in $(find . \( -name .git -o -name .tox \) -prune -o \( -type f -name \*.sh -not -path \*shocco/\* -print \)); do |
|
| 79 | 79 |
echo $f |
| 80 | 80 |
FILES+="$f " |
| 81 | 81 |
mkdir -p $FQ_HTML_BUILD/`dirname $f`; |