{"action":"closed","issue":{"url":"https://api.github.com/repos/xerial/sbt-pack/issues/119","repository_url":"https://api.github.com/repos/xerial/sbt-pack","labels_url":"https://api.github.com/repos/xerial/sbt-pack/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/xerial/sbt-pack/issues/119/comments","events_url":"https://api.github.com/repos/xerial/sbt-pack/issues/119/events","html_url":"https://github.com/xerial/sbt-pack/issues/119","id":264537010,"number":119,"title":"generated shell script fails to run inside docker container because of empty line before shebang unix","user":{"login":"jm2dev","id":474643,"avatar_url":"https://avatars2.githubusercontent.com/u/474643?v=4","gravatar_id":"","url":"https://api.github.com/users/jm2dev","html_url":"https://github.com/jm2dev","followers_url":"https://api.github.com/users/jm2dev/followers","following_url":"https://api.github.com/users/jm2dev/following{/other_user}","gists_url":"https://api.github.com/users/jm2dev/gists{/gist_id}","starred_url":"https://api.github.com/users/jm2dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jm2dev/subscriptions","organizations_url":"https://api.github.com/users/jm2dev/orgs","repos_url":"https://api.github.com/users/jm2dev/repos","events_url":"https://api.github.com/users/jm2dev/events{/privacy}","received_events_url":"https://api.github.com/users/jm2dev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-11T10:37:40Z","updated_at":"2017-11-30T23:14:13Z","closed_at":"2017-11-30T23:14:13Z","author_association":"CONTRIBUTOR","body":"Generated shell script under target/pack/bin looks like:\r\n\r\n```\r\n\r\n#!/bin/bash\r\n# bla bla\r\n```\r\n\r\nthough it runs on my linux machine, it fails to run inside docker container. \r\nThe fix consists on removing the first empty line, but ideally it shouldn't appear on generation.\r\n\r\nDesired output:\r\n\r\n```\r\n#!/bin/bash\r\n# bla bla\r\n```"}}
{"actor":{"display_login":"xerial"}}