mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
vagrant: fix vagrant scp on macOS, fixes #5921
it did not find pyenv in PATH, resulting in unpretty error messages.
This commit is contained in:
parent
a844eecffa
commit
b2c3099fb9
1 changed files with 2 additions and 0 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
|
@ -207,6 +207,8 @@ def install_pyenv(boxname)
|
|||
. ~/.bash_profile
|
||||
curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
|
||||
echo 'eval "$(pyenv init --path)"' >> ~/.bash_profile
|
||||
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
|
||||
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
|
||||
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
|
||||
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Reference in a new issue