mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-21 13:47:16 +00: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
757f757cc1
commit
550be412e4
1 changed files with 2 additions and 0 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -145,6 +145,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