From 8a5569bf0890958fa5a1aab6f2b6602de1b04723 Mon Sep 17 00:00:00 2001 From: Daniel <71837281+darmiel@users.noreply.github.com> Date: Sat, 21 Nov 2020 12:54:35 +0100 Subject: [PATCH] Update build.html (#1301) --- build.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.html b/build.html index 4414d6113..54d260a4c 100644 --- a/build.html +++ b/build.html @@ -498,7 +498,7 @@ function onOptionsChanged() { if (target !== 'C++/CLI' && target !== 'C++/CX') { pre_text.push('Note that Windows Subsystem for Linux (WSL) and Cygwin are not Windows environments, so you need to use instructions for Linux for them instead.'); } - pre_text.push('Download and install Microsoft Visual Studio. Enable C++' + win10_sdk + ' support while installing.'); + pre_text.push('Download and install Microsoft Visual Studio. Enable C++' + win10_sdk + ' support while installing.'); pre_text.push('Download and install CMake; choose "Add CMake to the system PATH" option while installing.'); pre_text.push('Download and install Git.'); pre_text.push('Download and install gperf. Add the path to gperf.exe to the PATH environment variable.'); @@ -600,10 +600,10 @@ function onOptionsChanged() { var cmake = 'cmake'; if (os_mac) { commands.push('xcode-select --install'); - commands.push('/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"'); + commands.push('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"'); commands.push('brew install gperf cmake openssl' + (target === 'JNI' ? ' coreutils' : '')); if (target === 'JNI') { - commands.push('brew cask install java'); + commands.push('brew install openjdk'); } } else if (os_linux && linux_distro !== 'Other') { switch (linux_distro) {