From 36536f9554d318f878c0917f77291228c6eff3b7 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 8 Jan 2016 07:17:35 +0100 Subject: [PATCH] Fix build-index use mkdir -p so that the script does not fail if the directory already exists. Change-Id: I9a527b5dcabd7286eb8af7dcccef2a85be577387 --- tools/build-index.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build-index.sh b/tools/build-index.sh index 4b65980c4..f9e41dd92 100755 --- a/tools/build-index.sh +++ b/tools/build-index.sh @@ -35,7 +35,7 @@ if [ "$PUBLISH" = "publish" ] ; then # Publication happens from publish-docs/api-ref to # 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/ \ --output-directory publish-docs/api-ref/ rsync -a www/static/ publish-docs/api-ref/