-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line feed issues prevent install scripts from running correctly on Windows hosts #14
Comments
I can verity this issue. |
That didn't work for me. i'm still getting lines such as: cannot stat ���/vagrant\r/downloads\r/solr-.tgz��� |
@philred, do you have a patch that works for you? If so, please provide a pull-request. |
No, i manually used atom to change the line endings to unix. |
No idea why, but using https://github.com/dmolesUC3/fcrepo4-vagrant works but https://github.com/fcrepo4-labs/fcrepo4-vagrant with the #15 does not work for me. |
I just tested forking https://github.com/fcrepo4-labs/fcrepo4-vagrant and adding the gitattributes file on a linux box, then push/pull back to windows. This almost worked except localhost:8080/fcrepo didn't show up. I repeated cloning to windows and manually changing the line endings, and that worked. |
Something sounds fishy. I wish we had another Windows user lurking on this thread. |
Further investigation shows that |
Steps to reproduce:
vagrant up
Expected:
Actual:
\r
in themAnalysis:
install_scripts
get CRLF line endings when checked out on Windows, and when copied to the virtual machine they still have these line endings.Proposed fix:
.gitattributes
to force LF endings for these scripts (pull request forthcoming)The text was updated successfully, but these errors were encountered: