Fix build-index

use mkdir -p so that the script does not fail if the directory already
exists.

Change-Id: I9a527b5dcabd7286eb8af7dcccef2a85be577387
This commit is contained in:
Andreas Jaeger 2016-01-08 07:17:35 +01:00
parent 714fd41e29
commit 36536f9554

View File

@ -35,7 +35,7 @@ if [ "$PUBLISH" = "publish" ] ; then
# Publication happens from publish-docs/api-ref to # Publication happens from publish-docs/api-ref to
# developer.openstack.org, so move content around # developer.openstack.org, so move content around
mkdir publish-docs/api-ref/ mkdir -p publish-docs/api-ref/
python tools/www-generator.py --source-directory www/ \ python tools/www-generator.py --source-directory www/ \
--output-directory publish-docs/api-ref/ --output-directory publish-docs/api-ref/
rsync -a www/static/ publish-docs/api-ref/ rsync -a www/static/ publish-docs/api-ref/