Compare commits

...

3 Commits

Author SHA1 Message Date
Michael
f596b8f987
Merge 477353e1a48a64912b4e2dc2cce9c6784ed82ab5 into 762f9ef9d17623b45095e8ca1a996c8928f3f424 2024-07-07 21:11:59 +09:00
Jordan Harband
762f9ef9d1
[Tests] only install python 2.7 if not already installed
See ee6f7667 / #3067
2024-07-06 10:29:55 -05:00
Michael Zanggl
477353e1a4 add ARCH overwrite 2023-12-20 15:40:28 +09:00
2 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,7 @@ before_install:
- zsh --version
- dpkg -s dash | grep ^Version | awk '{print $2}'
# install python
- pyenv install 2.7.18
- pyenv local 2.7.18 || pyenv install 2.7.18
- pyenv local 2.7.18 || echo 'pyenv failed'
- python -V
install:

5
nvm.sh
View File

@ -2010,6 +2010,11 @@ nvm_get_arch() {
local EXIT_CODE
local LONG_BIT
if [ -n "$NVM_NODEJS_ORG_ARCH" ]; then
nvm_echo "${NVM_NODEJS_ORG_ARCH}"
return
fi
NVM_OS="$(nvm_get_os)"
# If the OS is SunOS, first try to use pkgsrc to guess
# the most appropriate arch. If it's not available, use