Skip to content

Commit e189dbb

Browse files
authored
Merge pull request #2406 from swiftwasm/maxd/pip3-install
Use `pip3` when `pip` is absent in macOS deps script
2 parents 522c10e + 590b611 commit e189dbb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

utils/webassembly/macos/install-dependencies.sh

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

33
set -ex
44

5-
pip install six
5+
if ! command -v pip &> /dev/null
6+
then
7+
PIP_COMMAND=pip3
8+
else
9+
PIP_COMMAND=pip
10+
fi
11+
12+
$PIP_COMMAND install six
613

714
brew install cmake ninja llvm sccache
815

0 commit comments

Comments
 (0)