1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-22 06:01:54 +00:00

Vagrantfile: cygwin: Prepend cygwin PATH.

Otherwise crippled programs of the pre-installed MLS-OpenSSHd's path
hide the cygwin programs.
This commit is contained in:
Hartmut Goebel 2017-06-24 19:22:39 +02:00
parent 54a60c5fc8
commit f962659f11

4
Vagrantfile vendored
View file

@ -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