tools: Ensure removing Python related commands for macOS
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
85566fb5d7
commit
b52aa1b5ca
1 changed files with 6 additions and 2 deletions
|
@ -516,8 +516,12 @@ case ${os} in
|
|||
install="arm-gcc-toolchain arm64-gcc-toolchain avr-gcc-toolchain binutils bloaty elf-toolchain gen-romfs gperf kconfig-frontends mips-gcc-toolchain python-tools riscv-gcc-toolchain rust xtensa-esp32-gcc-toolchain u-boot-tools c-cache"
|
||||
mkdir -p "${tools}"/homebrew
|
||||
export HOMEBREW_CACHE=${tools}/homebrew
|
||||
# https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
|
||||
rm -rf /usr/local/bin/2to3
|
||||
# https://github.com/apache/arrow/issues/15025
|
||||
rm -f /usr/local/bin/2to3 || :
|
||||
rm -f /usr/local/bin/idle3 || :
|
||||
rm -f /usr/local/bin/pydoc3 || :
|
||||
rm -f /usr/local/bin/python3 || :
|
||||
rm -f /usr/local/bin/python3-config || :
|
||||
# https://github.com/osx-cross/homebrew-avr/issues/205#issuecomment-760637996
|
||||
brew update --quiet
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue