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:
parent
714fd41e29
commit
36536f9554
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user