From 6b2547bf5652ef8d1920f4ed1cf27d7a663e5adb Mon Sep 17 00:00:00 2001 From: Victor Laza Date: Tue, 28 Apr 2015 10:03:17 +0300 Subject: [PATCH] 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 --- jjb/opnfvdocs/build-upload-docu.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.16.6