{"action":"closed","issue":{"url":"https://api.github.com/repos/michaeldfallen/butler/issues/7","labels_url":"https://api.github.com/repos/michaeldfallen/butler/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/michaeldfallen/butler/issues/7/comments","events_url":"https://api.github.com/repos/michaeldfallen/butler/issues/7/events","html_url":"https://github.com/michaeldfallen/butler/issues/7","id":69125683,"number":7,"title":"butler is incompatible with sh on Debian/Ubuntu","user":{"login":"Boldewyn","id":48738,"avatar_url":"https://avatars.githubusercontent.com/u/48738?v=3","gravatar_id":"","url":"https://api.github.com/users/Boldewyn","html_url":"https://github.com/Boldewyn","followers_url":"https://api.github.com/users/Boldewyn/followers","following_url":"https://api.github.com/users/Boldewyn/following{/other_user}","gists_url":"https://api.github.com/users/Boldewyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Boldewyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boldewyn/subscriptions","organizations_url":"https://api.github.com/users/Boldewyn/orgs","repos_url":"https://api.github.com/users/Boldewyn/repos","events_url":"https://api.github.com/users/Boldewyn/events{/privacy}","received_events_url":"https://api.github.com/users/Boldewyn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-17T12:03:49Z","updated_at":"2015-05-03T13:09:27Z","closed_at":"2015-05-03T13:09:27Z","body":"`butler` starts with\r\n\r\n    #! /usr/bin/env sh\r\n\r\nHowever, on Debian and Ubuntu, `sh` is aliased to `dash`, not `bash`. That means, invoking `butler` yields:\r\n\r\n    $ ./butler\r\n    ./butler: 8: ./butler: [[: not found\r\n    ./butler: 16: ./butler: [[: not found\r\n    ./butler: 21: ./butler: source: not found\r\n    ./butler: 23: ./butler: butler_exec: not found\r\n\r\nA fix would be the shebang line\r\n\r\n    #! /usr/bin/env bash\r\n\r\nHowever, I do not know, if `zsh` users will then encounter problems."}}