Skip to content

Commit e85cf94

Browse files
authored
Check if pip is installed in macOS install-dependencies.sh (#3354)
`pip` is not always installed on macOS, and `pip3` should be enough to build. Let's make the use of `pip` conditional.
1 parent a5d60a7 commit e85cf94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/webassembly/macos/install-dependencies.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
set -ex
44

5-
pip install six
5+
if [ -x "$(command -v pip)" ]; then
6+
pip install six
7+
fi
68
pip3 install six
79

810
brew install cmake ninja llvm sccache

0 commit comments

Comments
 (0)