Skip to content

Commit a8d5113

Browse files
committed
fix installation via wget
1 parent cb9078b commit a8d5113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-binary.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ getDownloadURL() {
6060
if type "curl" > /dev/null; then
6161
DOWNLOAD_URL=$(curl -s $latest_url | grep $OS | awk '/\"browser_download_url\":/{gsub( /[,\"]/,"", $2); print $2}')
6262
elif type "wget" > /dev/null; then
63-
DOWNLOAD_URL=$(wget -q -O - $latest_url | awk '/\"browser_download_url\":/{gsub( /[,\"]/,"", $2); print $2}')
63+
DOWNLOAD_URL=$(wget -q -O - $latest_url | grep $OS | awk '/\"browser_download_url\":/{gsub( /[,\"]/,"", $2); print $2}')
6464
fi
6565
}
6666

0 commit comments

Comments
 (0)