From b09e4eff863795c8b7295754eee3df64b84cfca4 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sat, 24 Jun 2017 15:19:03 +0200 Subject: [PATCH] Vagrantfile: cygwin: Run setup after setting PATH Fixes #2609. --- Vagrantfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index abc099f54..8cf159a9f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -201,7 +201,6 @@ def packages_cygwin(version) regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe" bash -c "ssh-host-config --no" ' > /cygdrive/c/cygwin/install.bat - cd /cygdrive/c/cygwin && cmd.exe /c install.bat echo "alias mkdir='mkdir -p'" > ~/.profile echo "export CYGWIN_ROOT=/cygdrive/c/cygwin/CygWin" >> ~/.profile @@ -211,6 +210,8 @@ def packages_cygwin(version) cmd.exe /c 'setx /m PATH "%PATH%;C:\\cygwin\\CygWin\\bin"' source ~/.profile + cd /cygdrive/c/cygwin && cmd.exe /c install.bat + echo 'db_home: windows' > $CYGWIN_ROOT/etc/nsswitch.conf EOF end