Skip to content

Commit 3f28264

Browse files
authored
Merge pull request #1940 from swiftwasm/swiftwasm-release/5.3-local-python
Check if Python 2 is installed before uninstalling
2 parents 874d5d0 + 7e5f459 commit 3f28264

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

utils/update_checkout/update-checkout-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"cmake": "v3.16.5",
9898
"indexstore-db": "release/5.3",
9999
"sourcekit-lsp": "release/5.3",
100-
"swift-format": "master"
100+
"swift-format": "main"
101101
}
102102
},
103103
"master": {

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)