From 0416bfdc5af16655f19dace38fbbcca090f33aa2 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 30 Jul 2017 21:43:59 +0200 Subject: [PATCH] vagrant: add exe location to PATH when we build an exe (cherry picked from commit c1f9ed991b9679d789389741eaa3248075774572) --- Vagrantfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 076a2b7b9..7042feebe 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -214,7 +214,7 @@ end def install_pyenv(boxname) script = <<-EOF curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash - echo 'export PATH="$HOME/.pyenv/bin:/vagrant/borg:$PATH"' >> ~/.bash_profile + echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> ~/.bash_profile echo 'eval "$(pyenv init -)"' >> ~/.bash_profile echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bash_profile echo 'export PYTHON_CONFIGURE_OPTS="--enable-shared"' >> ~/.bash_profile @@ -307,6 +307,7 @@ def build_binary_with_pyinstaller(boxname) . borg-env/bin/activate cd borg pyinstaller --clean --distpath=/vagrant/borg scripts/borg.exe.spec + echo 'export PATH="/vagrant/borg:$PATH"' >> ~/.bash_profile EOF end