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:
parent
54a60c5fc8
commit
f962659f11
1 changed files with 2 additions and 2 deletions
4
Vagrantfile
vendored
4
Vagrantfile
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue