From 45a61dc067cff06ebe26fd3b126aefdbbe92ff99 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 11 Aug 2016 09:49:08 +0200 Subject: [PATCH] Tolerate missed spaces in the download list --- .../office/libreoffice/generate-libreoffice-srcs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh index bba1ad9c213..0c92a1c5553 100755 --- a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh +++ b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh @@ -33,15 +33,18 @@ while read line; do *_MD5SUM\ :=*) read tbline; line=${line##* }; + line=${line##*:=}; if [ "${tbline#*VERSION_MICRO}" != "$tbline" ]; then verline=${tbline##* }; read tbline; tbline=${tbline##* }; + tbline=${tbline##*:=}; md5=$line name=$tbline; name="${name/\$([A-Z]*_VERSION_MICRO)/$verline}" else tbline=${tbline##* }; + tbline=${tbline##*:=}; md5=$line name=$tbline; fi @@ -50,6 +53,7 @@ while read line; do ;; *_TARBALL\ :=*) line=${line##* }; + line=${line##*:=}; line="${line#,}" md5=${line:0:32}; name=${line:33};