diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2015-04-17 15:18:07 -0400 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2015-04-17 15:40:32 -0400 |
commit | 42e7f7bc6cf41d68b1ae7247d10314f5f67d638c (patch) | |
tree | 3100723ff0e61d659ae23cf37bf69dfc5b633daf /jjb/opnfvdocs | |
parent | b272a045032271bc085622478be62df4c021f107 (diff) |
fix typo, also delete gsoutput.txt after it is echoed
gsutil was silently dying refusing to overrite gsoutput.txt
JIRA:0000
Change-Id: I8e633677908335e035f86f5aa9a60bb8f0600177
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/opnfvdocs')
-rw-r--r-- | jjb/opnfvdocs/build-docu.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/opnfvdocs/build-docu.sh b/jjb/opnfvdocs/build-docu.sh index 7dbeb6587..3076c37a7 100644 --- a/jjb/opnfvdocs/build-docu.sh +++ b/jjb/opnfvdocs/build-docu.sh @@ -27,15 +27,16 @@ for file in "${{files[@]}}"; do -h "Cache-Control:private, max-age=0, no-transform" \ gs://artifacts.opnfv.org/"$project"/"$gs_cp_folder".html cat gsoutput.txt + rm -f gsoutput.txt echo "rst2pdf $file" - rst2pdf $fle -o - | gsutil cp -L gsoutput.txt - \ + rst2pdf $file -o - | gsutil cp -L gsoutput.txt - \ gs://artifacts.opnfv.org/"$project"/"$gs_cp_folder".html gsutil setmeta -h "Content-Type:application/pdf" \ -h "Cache-Control:private, max-age=0, no-transform" \ gs://artifacts.opnfv.org/"$project"/"$gs_cp_folder".pdf cat gsoutput.txt + rm -f gsoutput.txt done -rm -f gsoutput.txt |