{"action":"created","issue":{"url":"https://api.github.com/repos/atmoz/tarsnap/issues/4","labels_url":"https://api.github.com/repos/atmoz/tarsnap/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/atmoz/tarsnap/issues/4/comments","events_url":"https://api.github.com/repos/atmoz/tarsnap/issues/4/events","html_url":"https://github.com/atmoz/tarsnap/pull/4","id":120449755,"number":4,"title":"Use subshell to avoid potential issues with having to cd back","user":{"login":"andreas-venturini","id":4801917,"avatar_url":"https://avatars.githubusercontent.com/u/4801917?v=3","gravatar_id":"","url":"https://api.github.com/users/andreas-venturini","html_url":"https://github.com/andreas-venturini","followers_url":"https://api.github.com/users/andreas-venturini/followers","following_url":"https://api.github.com/users/andreas-venturini/following{/other_user}","gists_url":"https://api.github.com/users/andreas-venturini/gists{/gist_id}","starred_url":"https://api.github.com/users/andreas-venturini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreas-venturini/subscriptions","organizations_url":"https://api.github.com/users/andreas-venturini/orgs","repos_url":"https://api.github.com/users/andreas-venturini/repos","events_url":"https://api.github.com/users/andreas-venturini/events{/privacy}","received_events_url":"https://api.github.com/users/andreas-venturini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-04T17:36:54Z","updated_at":"2015-12-23T12:21:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atmoz/tarsnap/pulls/4","html_url":"https://github.com/atmoz/tarsnap/pull/4","diff_url":"https://github.com/atmoz/tarsnap/pull/4.diff","patch_url":"https://github.com/atmoz/tarsnap/pull/4.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/atmoz/tarsnap/issues/comments/166880231","html_url":"https://github.com/atmoz/tarsnap/pull/4#issuecomment-166880231","issue_url":"https://api.github.com/repos/atmoz/tarsnap/issues/4","id":166880231,"user":{"login":"andreas-venturini","id":4801917,"avatar_url":"https://avatars.githubusercontent.com/u/4801917?v=3","gravatar_id":"","url":"https://api.github.com/users/andreas-venturini","html_url":"https://github.com/andreas-venturini","followers_url":"https://api.github.com/users/andreas-venturini/followers","following_url":"https://api.github.com/users/andreas-venturini/following{/other_user}","gists_url":"https://api.github.com/users/andreas-venturini/gists{/gist_id}","starred_url":"https://api.github.com/users/andreas-venturini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreas-venturini/subscriptions","organizations_url":"https://api.github.com/users/andreas-venturini/orgs","repos_url":"https://api.github.com/users/andreas-venturini/repos","events_url":"https://api.github.com/users/andreas-venturini/events{/privacy}","received_events_url":"https://api.github.com/users/andreas-venturini/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T12:21:33Z","updated_at":"2015-12-23T12:21:33Z","body":"If `tarsnap-autoconf-$TARSNAP_VERSION` is not available (for whatever reason) the script will exit with `No such file or directory` in both cases. \r\n\r\nIt is not so much a potential issue in this case, however, I prefer to avoid statements like `cd ..` as it might lead to unintended behavior in some cases. The subshell also makes the code more readable imo.\r\n\r\nAlso note the trailing whitespace in line 4 that I removed."}}