-
Notifications
You must be signed in to change notification settings - Fork 0
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
Saving sh files always uses Windows line breaks #13062
Comments
Comment by redmunds
Currently, Brackets should call the |
Comment by vesrah I pulled the code and ran the setup_for_hacking.sh - success with that PR. Thank you! |
Comment by peterflynn
Could you use Debug > Show Developer Tools to put a breakpoint in |
Comment by MarcelGerber Now that you mentioned the first 1000 bytes: It's also possible that the first line of his file is longer than 1000 chars. |
Comment by peterflynn
Shouldn't be a factor here though: most shell scripts start with a short |
Issue by vesrah
Saturday Feb 14, 2015 at 03:15 GMT
Originally opened as adobe/brackets#10594
Brackets 1.1.0-15558 / OSX 10.10
Creating or editing a .sh file and trying to run it comes back with:
/bin/bash^M: bad interpreter: No such file or directory
If you open the file in vim, set the file format to unix, and save it then the script works fine. Reopening the file in brackets and saving it will cause the issue to happen again.
The text was updated successfully, but these errors were encountered: