giorgiosironi / phpunit-selenium

Selenium RC integration for PHPUnit
http://www.phpunit.de/
Other
601 stars 270 forks source link

vagrant provision failed on windows #419

Closed 4dsr closed 6 years ago

4dsr commented 6 years ago

Hi, I had some problems with provision scripts. Lines ending with CRLF not LF. It leads to errors with massage containing "$'\r': command not found". Runnig these two comands just before vagrant up or vagrant provision converts bash scripts to unix standard and solves the problem:

git config core.autocrlf false
dos2unix .ci/*
zerkms commented 6 years ago

It is your local git client problem: no scripts in .ci contain the \r (carriage return) character.

Not sure anything could be done here, core.autocrlf false should be done by default by every git user.

4dsr commented 6 years ago

Never had such problem with vagrantbox before. Thanks.