diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-08-11 09:49:08 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2016-08-11 18:49:18 +0200 |
commit | 45a61dc067cff06ebe26fd3b126aefdbbe92ff99 (patch) | |
tree | 89cace68fc20a51a72561531c608c59c81c602f3 /pkgs/applications | |
parent | b189d34a1b2aae7024754c3d8d53f44b32fa6c81 (diff) |
Tolerate missed spaces in the download list
Diffstat (limited to 'pkgs/applications')
-rwxr-xr-x | pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh index bba1ad9c213d5..0c92a1c5553f3 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}; |