Provisioning: Fix installing nodejs and libusb to MacOS 10.13

Brew doesn't provide pre built binaries of nodejs nor libusb
for 10.13.

Change-Id: I9e8b47dbbfde05fc38661df6c834b0ff3f2754f2
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
Simo Fält
2020-12-15 15:35:02 +02:00
parent 4d4a4649a9
commit bac86c9fba
2 changed files with 2 additions and 3 deletions

View File

@@ -37,7 +37,7 @@
set -ex
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
brew install libusb
brew install --build-from-source libusb
read -r -a arr <<< $(brew list --versions libusb)
version=${arr[1]}
echo "libusb = $version" >> ~/versions.txt

View File

@@ -2,5 +2,4 @@
set -ex
brew install nodejs
brew install --build-from-source node