Fix tragic SIGPIPE from sed

This commit is contained in:
Radon Rosborough 2020-10-04 10:53:02 -07:00
parent 3603c93eec
commit 9fa26e0569
1 changed files with 2 additions and 2 deletions

View File

@ -298,8 +298,8 @@ unzip rls-linux.zip
mv rls-linux/reason-language-server /usr/local/bin/
rm rls-linux.zip
# Rebol
file="$(curl -sSL http://www.rebol.com/downloads.html | sed '0,/x86-64/d' | head -n10 | grep -Eo 'downloads/[^"]+')"
# REBOL
file="$(curl -sSL http://www.rebol.com/downloads.html | sed '0,/x86-64/d' | grep -Eo 'downloads/[^"]+' | head -n1)"
wget -nv "http://www.rebol.com/${file}"
tar -xf rebol-core-*.tar.gz
mv rebol-core/rebol /usr/local/bin/