{"action":"created","issue":{"url":"https://api.github.com/repos/PCGen/pcgen/issues/1404","repository_url":"https://api.github.com/repos/PCGen/pcgen","labels_url":"https://api.github.com/repos/PCGen/pcgen/issues/1404/labels{/name}","comments_url":"https://api.github.com/repos/PCGen/pcgen/issues/1404/comments","events_url":"https://api.github.com/repos/PCGen/pcgen/issues/1404/events","html_url":"https://github.com/PCGen/pcgen/issues/1404","id":169668144,"number":1404,"title":"^M in the sh file and possibly other files","user":{"login":"mpop1","id":5705638,"avatar_url":"https://avatars2.githubusercontent.com/u/5705638?v=3","gravatar_id":"","url":"https://api.github.com/users/mpop1","html_url":"https://github.com/mpop1","followers_url":"https://api.github.com/users/mpop1/followers","following_url":"https://api.github.com/users/mpop1/following{/other_user}","gists_url":"https://api.github.com/users/mpop1/gists{/gist_id}","starred_url":"https://api.github.com/users/mpop1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpop1/subscriptions","organizations_url":"https://api.github.com/users/mpop1/orgs","repos_url":"https://api.github.com/users/mpop1/repos","events_url":"https://api.github.com/users/mpop1/events{/privacy}","received_events_url":"https://api.github.com/users/mpop1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-05T18:28:10Z","updated_at":"2017-05-11T00:24:54Z","closed_at":null,"body":"In the zip download, in all the text files there are trailing ^M, in the bash shell script this make the code unrunnable.  This might want to be fixed in the next version, probably have a windows download, and a separate Mac and Linux download, as the ^M is a DOS artifact. \n\nFor those of you looking here because of the issue, easly fixed by using dos2unix on the pcgen.sh file, and things will correctly\n"},"comment":{"url":"https://api.github.com/repos/PCGen/pcgen/issues/comments/300648588","html_url":"https://github.com/PCGen/pcgen/issues/1404#issuecomment-300648588","issue_url":"https://api.github.com/repos/PCGen/pcgen/issues/1404","id":300648588,"user":{"login":"tgm4883","id":503757,"avatar_url":"https://avatars2.githubusercontent.com/u/503757?v=3","gravatar_id":"","url":"https://api.github.com/users/tgm4883","html_url":"https://github.com/tgm4883","followers_url":"https://api.github.com/users/tgm4883/followers","following_url":"https://api.github.com/users/tgm4883/following{/other_user}","gists_url":"https://api.github.com/users/tgm4883/gists{/gist_id}","starred_url":"https://api.github.com/users/tgm4883/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgm4883/subscriptions","organizations_url":"https://api.github.com/users/tgm4883/orgs","repos_url":"https://api.github.com/users/tgm4883/repos","events_url":"https://api.github.com/users/tgm4883/events{/privacy}","received_events_url":"https://api.github.com/users/tgm4883/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T00:24:54Z","updated_at":"2017-05-11T00:24:54Z","body":"@javydreamercsw He's probably talking about [.gitattributes](https://help.github.com/articles/dealing-with-line-endings/) You can declare the line endings a file will have on checkout (examples on that page). You'll probably want something similar to this example.\r\n\r\n```\r\n# Declare files that will always have CRLF line endings on checkout.\r\n*.sln text eol=crlf\r\n```\r\n\r\nDepending on the editor you use, there may be some options for different files in there. I know in Atom there's some settings for line endings.\r\n"}}
{"actor":{"display_login":"tgm4883"}}