Adds -p option in mkdir for buildpdf tox env

This commit is intended not to see the following error message.
- /bin/mkdir: cannot create directory ‘publish-docs’: File exists

Change-Id: I824a68ff46f0bb2a520644ed455d45e19b19a2bf
This commit is contained in:
Ian Y. Choi 2017-12-07 06:55:35 +00:00
parent 75586c700b
commit 70fb84d71e

View File

@ -57,7 +57,7 @@ whitelist_externals =
commands =
sphinx-build -a -E -W -d doc/build/doctrees -b latex doc/source doc/build/pdf
make -C doc/build/pdf
mkdir publish-docs
mkdir -p publish-docs
cp doc/build/pdf/os-doc-demo.pdf publish-docs
[testenv:bindep]