Typo fix in build-upload-docu.sh, images=() instead of files=() at img upload 21/421/1
authorVictor Laza <vlaza@cloudbasesolutions.com>
Tue, 28 Apr 2015 07:03:17 +0000 (10:03 +0300)
committerVictor Laza <vlaza@cloudbasesolutions.com>
Tue, 28 Apr 2015 07:03:17 +0000 (10:03 +0300)
JIRA: Typo fix in build-upload-docu.sh, images=() instead of files=() at img upload

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

index 23e7838..9714993 100644 (file)
@@ -40,11 +40,9 @@ for file in "${{files[@]}}"; do
 
 done
 
-
 images=()
-
 while read -r -d ''; do
-        files+=("$REPLY")
+        images+=("$REPLY")
 done < <(find * -type f \( -iname \*.jpg -o -iname \*.png \) -print0)
 
 for img in "${{images[@]}}"; do