From: Victor Laza Date: Fri, 17 Apr 2015 14:54:24 +0000 (+0300) Subject: Update [2] on build-docu.sh for opnfvdocs project, gsutil minor fix X-Git-Tag: arno.2015.1.0~99 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=0d3361f38409ed0202a356c24c8049f05414a2ef;p=releng.git Update [2] on build-docu.sh for opnfvdocs project, gsutil minor fix JIRA: This issue fixes "CommandException: No URLs matched:" related to gsutil by eliminating the 1st "/" in the path of files Change-Id: If263768a3c030c671881746a7fc4d31df2f8901e Signed-off-by: Victor Laza --- diff --git a/jjb/opnfvdocs/build-docu.sh b/jjb/opnfvdocs/build-docu.sh index 2abf1275a..548dc7ae5 100644 --- a/jjb/opnfvdocs/build-docu.sh +++ b/jjb/opnfvdocs/build-docu.sh @@ -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 - \