Fixed stdin for image upload in build-upload-docu.sh 22/422/2
authorVictor Laza <vlaza@cloudbasesolutions.com>
Tue, 28 Apr 2015 07:44:17 +0000 (10:44 +0300)
committerVictor Laza <vlaza@cloudbasesolutions.com>
Tue, 28 Apr 2015 07:47:53 +0000 (10:47 +0300)
JIRA: Fixed stdin for image upload in build-upload-docu.sh

Change-Id: Ibfc0322487222d7106f40a799aaad9d65d2320f4
Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
jjb/opnfvdocs/build-upload-docu.sh

index 9714993..c4c7811 100644 (file)
@@ -49,6 +49,7 @@ for img in "${{images[@]}}"; do
 
        # uploading found images
        echo "uploading $img"
+        echo "$img" | gsutil cp -L gsoutput.txt - \
         gs://artifacts.opnfv.org/"$project"/"$img"
         gsutil setmeta -h "Content-Type:text/html" \
                         -h "Cache-Control:private, max-age=0, no-transform" \