{"action":"created","issue":{"url":"https://api.github.com/repos/withjam/mlvm/issues/21","labels_url":"https://api.github.com/repos/withjam/mlvm/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/withjam/mlvm/issues/21/comments","events_url":"https://api.github.com/repos/withjam/mlvm/issues/21/events","html_url":"https://github.com/withjam/mlvm/pull/21","id":58269151,"number":21,"title":"Improve usage notes and detect when DMG is not absolute","user":{"login":"fgeorges","id":584411,"avatar_url":"https://avatars.githubusercontent.com/u/584411?v=3","gravatar_id":"","url":"https://api.github.com/users/fgeorges","html_url":"https://github.com/fgeorges","followers_url":"https://api.github.com/users/fgeorges/followers","following_url":"https://api.github.com/users/fgeorges/following{/other_user}","gists_url":"https://api.github.com/users/fgeorges/gists{/gist_id}","starred_url":"https://api.github.com/users/fgeorges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgeorges/subscriptions","organizations_url":"https://api.github.com/users/fgeorges/orgs","repos_url":"https://api.github.com/users/fgeorges/repos","events_url":"https://api.github.com/users/fgeorges/events{/privacy}","received_events_url":"https://api.github.com/users/fgeorges/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T21:01:44Z","updated_at":"2015-02-19T21:16:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/withjam/mlvm/pulls/21","html_url":"https://github.com/withjam/mlvm/pull/21","diff_url":"https://github.com/withjam/mlvm/pull/21.diff","patch_url":"https://github.com/withjam/mlvm/pull/21.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/withjam/mlvm/issues/comments/75137736","html_url":"https://github.com/withjam/mlvm/pull/21#issuecomment-75137736","issue_url":"https://api.github.com/repos/withjam/mlvm/issues/21","id":75137736,"user":{"login":"jmakeig","id":176233,"avatar_url":"https://avatars.githubusercontent.com/u/176233?v=3","gravatar_id":"","url":"https://api.github.com/users/jmakeig","html_url":"https://github.com/jmakeig","followers_url":"https://api.github.com/users/jmakeig/followers","following_url":"https://api.github.com/users/jmakeig/following{/other_user}","gists_url":"https://api.github.com/users/jmakeig/gists{/gist_id}","starred_url":"https://api.github.com/users/jmakeig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmakeig/subscriptions","organizations_url":"https://api.github.com/users/jmakeig/orgs","repos_url":"https://api.github.com/users/jmakeig/repos","events_url":"https://api.github.com/users/jmakeig/events{/privacy}","received_events_url":"https://api.github.com/users/jmakeig/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T21:16:34Z","updated_at":"2015-02-19T21:16:34Z","body":"I think this is a good stop-gap, but I'd much prefer an actual fix to the problem. I think the issue is that the [`cd` to the `versions` directory](https://github.com/withjam/mlvm/blob/master/mlvm.sh#L56) changes the working directory. Thus a relative path to the `.dmg` is resolved against `versions` and not the working directory from which the script was run. I tinkered with it a while back, but wasn’t able to figure it out with my weak bash skillz."}}