From: Victor Laza Date: Tue, 28 Apr 2015 07:03:17 +0000 (+0300) Subject: Typo fix in build-upload-docu.sh, images=() instead of files=() at img upload X-Git-Tag: arno.2015.1.0~85 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=6b2547bf5652ef8d1920f4ed1cf27d7a663e5adb Typo fix in build-upload-docu.sh, images=() instead of files=() at img upload JIRA: Typo fix in build-upload-docu.sh, images=() instead of files=() at img upload Change-Id: I070a6182b796789c4cf24b674dac1c0d0ce90c04 Signed-off-by: Victor Laza --- diff --git a/jjb/opnfvdocs/build-upload-docu.sh b/jjb/opnfvdocs/build-upload-docu.sh index 23e7838be..97149936f 100644 --- a/jjb/opnfvdocs/build-upload-docu.sh +++ b/jjb/opnfvdocs/build-upload-docu.sh @@ -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