Merge "only clone docs from gh-pages branch if they aren't there"

This commit is contained in:
Jenkins 2013-11-22 12:31:59 +00:00 committed by Gerrit Code Review
commit 1fdcbe1d01

View File

@ -91,8 +91,9 @@ fi
# Assumption is we are now in the DevStack repo workspace to be processed
# Pull the latest docs branch from devstack.org repo
rm -rf docs || true
git clone -b gh-pages $GH_PAGES_REPO docs
if ! [ -d docs ]; then
git clone -b gh-pages $GH_PAGES_REPO docs
fi
# Build list of scripts to process
FILES=""