Skip to content

Commit 297bf27

Browse files
committed
Check if Python 2 is installed before uninstalling
1 parent 874d5d0 commit 297bf27

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/webassembly/macos/install-dependencies.sh

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

33
set -ex
44

5-
brew uninstall $(brew list | grep python@2)
5+
if [ -n "$(brew list | grep python@2)" ]; then
6+
brew uninstall $(brew list | grep python@2)
7+
fi
8+
69
brew install cmake ninja llvm sccache
710

811
# Install latest wasmer

0 commit comments

Comments
 (0)