Change-Id: Ibdabd8d1fac2918b6871849b5f31a9f41dad7f47
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
{
sphinx-build -b latex -E "$dir" "$_build"
make -C "$_build" LATEXOPTS='--interaction=nonstopmode' all-pdf
- mv "$_build"/*.pdf "$_output"
+ mv "$_build/$_name.pdf" "$_output"
} || {
_msg="Error: PDF creation for $dir has failed, please fix source rst file(s)."
echo
gs_path="artifacts.opnfv.org/review/$GERRIT_CHANGE_NUMBER"
- gsutil -m cp -r docs/output/* "gs://$gs_path"
+ gsutil -m cp -r docs/output "gs://$gs_path"
if gsutil ls "gs://$gs_path" | grep -e 'html$' > /dev/null 2>&1 ; then
gsutil -m setmeta \