From f962659f11a995f3a812e1ab3d64b4f8afeaf438 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sat, 24 Jun 2017 19:22:39 +0200 Subject: [PATCH] Vagrantfile: cygwin: Prepend cygwin PATH. Otherwise crippled programs of the pre-installed MLS-OpenSSHd's path hide the cygwin programs. --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index ef1b51c31..c25d89a6d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -205,11 +205,11 @@ def packages_cygwin(version) echo "alias mkdir='mkdir -p'" > ~/.profile echo "export CYGWIN_ROOT=/cygdrive/c/cygwin/CygWin" >> ~/.profile - echo 'export PATH=$PATH:$CYGWIN_ROOT/bin' >> ~/.profile + echo 'export PATH=$CYGWIN_ROOT/bin:$PATH' >> ~/.profile echo '' > ~/.bash_profile - cmd.exe /c 'setx /m PATH "%PATH%;C:\\cygwin\\CygWin\\bin"' + cmd.exe /c 'setx /m PATH "C:\\cygwin\\CygWin\\bin;%PATH%"' source ~/.profile cd /cygdrive/c/cygwin && cmd.exe /c install.bat