This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set BASH_PATH=bash | |
set CYGPATH=cygpath | |
REM Well, here is the problem: | |
REM Vagrant ships a set of POSIX utils, including bash | |
REM And for this script environemnt contains | |
REM modified %Path% which contains Vagrant's bin prior to cygwin's one, | |
REM so call "bash" gives Vagrant's bash, not cygwin's | |
REM Bad! Let's set cygwin's bin prior to Vagrant's one back: |