Update [2] on build-docu.sh for opnfvdocs project, gsutil minor fix
[releng.git] / jjb / opnfvdocs / build-docu.sh
index 2abf127..548dc7a 100644 (file)
@@ -10,7 +10,7 @@ done < <(find . -type f -iname '*.rst' -print0)
 for file in "${{files[@]}}"; do
 
   file_cut="${{file%.*}}"
-  gs_cp_folder="${{file_cut}}"
+  gs_cp_folder="${{file_cut#/}}"
 
     echo "rst2html $file"
     rst2html $file | gsutil cp -L gsoutput.txt - \