{"action":"created","comment":{"url":"https://api.github.com/repos/php-build/php-build/pulls/comments/28719981","id":28719981,"diff_hunk":"@@ -11,26 +11,25 @@ fi\n echo \"Installing php-build in $PREFIX\"\n \n BIN_DIR=\"$PREFIX/bin\"\n+SHARE_DIR=\"$PREFIX/share\"\n MAN_DIR=\"$PREFIX/share/man\"\n-TMP_DIR=\"/tmp/php-build\"\n \n-echo -n \"  - Creating Directories...\"\n+echo -n \"  - creating directories...\"\n \n [ ! -d \"$BIN_DIR\" ]          && mkdir -p \"$BIN_DIR\"\n [ ! -d \"$MAN_DIR\" ]          && mkdir -p \"$MAN_DIR\"\n+[ ! -d \"$SHARE_DIR\" ]        && mkdir -p \"$SHARE_DIR\"\n [ ! -d \"$MAN_DIR/man1\" ]     && mkdir -p \"$MAN_DIR/man1\"\n [ ! -d \"$MAN_DIR/man5\" ]     && mkdir -p \"$MAN_DIR/man5\"\n-[ ! -d \"$TMP_DIR/packages\" ] && mkdir -p \"$TMP_DIR/packages\"\n-[ ! -d \"$TMP_DIR/source\" ]   && mkdir -p \"$TMP_DIR/source\"\n \n-echo \" Done.\"\n+echo \" done.\"","path":"install.sh","position":20,"original_position":20,"commit_id":"2f928bfc74a087d069e69df1e2345742ce59061b","original_commit_id":"2f928bfc74a087d069e69df1e2345742ce59061b","user":{"login":"gerardroche","id":44148,"avatar_url":"https://avatars.githubusercontent.com/u/44148?v=3","gravatar_id":"","url":"https://api.github.com/users/gerardroche","html_url":"https://github.com/gerardroche","followers_url":"https://api.github.com/users/gerardroche/followers","following_url":"https://api.github.com/users/gerardroche/following{/other_user}","gists_url":"https://api.github.com/users/gerardroche/gists{/gist_id}","starred_url":"https://api.github.com/users/gerardroche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerardroche/subscriptions","organizations_url":"https://api.github.com/users/gerardroche/orgs","repos_url":"https://api.github.com/users/gerardroche/repos","events_url":"https://api.github.com/users/gerardroche/events{/privacy}","received_events_url":"https://api.github.com/users/gerardroche/received_events","type":"User","site_admin":false},"body":"```\r\n  - creating directories... Done.\r\n  - creating directories... done.\r\n```\r\n\r\nThe second looks nicer to me.","created_at":"2015-04-20T19:21:30Z","updated_at":"2015-04-20T19:21:30Z","html_url":"https://github.com/php-build/php-build/pull/282#discussion_r28719981","pull_request_url":"https://api.github.com/repos/php-build/php-build/pulls/282","_links":{"self":{"href":"https://api.github.com/repos/php-build/php-build/pulls/comments/28719981"},"html":{"href":"https://github.com/php-build/php-build/pull/282#discussion_r28719981"},"pull_request":{"href":"https://api.github.com/repos/php-build/php-build/pulls/282"}}},"pull_request":{"url":"https://api.github.com/repos/php-build/php-build/pulls/282","id":33626442,"html_url":"https://github.com/php-build/php-build/pull/282","diff_url":"https://github.com/php-build/php-build/pull/282.diff","patch_url":"https://github.com/php-build/php-build/pull/282.patch","issue_url":"https://api.github.com/repos/php-build/php-build/issues/282","number":282,"state":"open","locked":false,"title":"Add uninstaller","user":{"login":"gerardroche","id":44148,"avatar_url":"https://avatars.githubusercontent.com/u/44148?v=3","gravatar_id":"","url":"https://api.github.com/users/gerardroche","html_url":"https://github.com/gerardroche","followers_url":"https://api.github.com/users/gerardroche/followers","following_url":"https://api.github.com/users/gerardroche/following{/other_user}","gists_url":"https://api.github.com/users/gerardroche/gists{/gist_id}","starred_url":"https://api.github.com/users/gerardroche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerardroche/subscriptions","organizations_url":"https://api.github.com/users/gerardroche/orgs","repos_url":"https://api.github.com/users/gerardroche/repos","events_url":"https://api.github.com/users/gerardroche/events{/privacy}","received_events_url":"https://api.github.com/users/gerardroche/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-19T21:37:58Z","updated_at":"2015-04-20T19:21:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1e6ba220422855d4bc59b70c53eed7cccb6d240","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/php-build/php-build/pulls/282/commits","review_comments_url":"https://api.github.com/repos/php-build/php-build/pulls/282/comments","review_comment_url":"https://api.github.com/repos/php-build/php-build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php-build/php-build/issues/282/comments","statuses_url":"https://api.github.com/repos/php-build/php-build/statuses/2f928bfc74a087d069e69df1e2345742ce59061b","head":{"label":"gerardroche:add-uninstaller","ref":"add-uninstaller","sha":"2f928bfc74a087d069e69df1e2345742ce59061b","user":{"login":"gerardroche","id":44148,"avatar_url":"https://avatars.githubusercontent.com/u/44148?v=3","gravatar_id":"","url":"https://api.github.com/users/gerardroche","html_url":"https://github.com/gerardroche","followers_url":"https://api.github.com/users/gerardroche/followers","following_url":"https://api.github.com/users/gerardroche/following{/other_user}","gists_url":"https://api.github.com/users/gerardroche/gists{/gist_id}","starred_url":"https://api.github.com/users/gerardroche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerardroche/subscriptions","organizations_url":"https://api.github.com/users/gerardroche/orgs","repos_url":"https://api.github.com/users/gerardroche/repos","events_url":"https://api.github.com/users/gerardroche/events{/privacy}","received_events_url":"https://api.github.com/users/gerardroche/received_events","type":"User","site_admin":false},"repo":{"id":16416972,"name":"php-build","full_name":"gerardroche/php-build","owner":{"login":"gerardroche","id":44148,"avatar_url":"https://avatars.githubusercontent.com/u/44148?v=3","gravatar_id":"","url":"https://api.github.com/users/gerardroche","html_url":"https://github.com/gerardroche","followers_url":"https://api.github.com/users/gerardroche/followers","following_url":"https://api.github.com/users/gerardroche/following{/other_user}","gists_url":"https://api.github.com/users/gerardroche/gists{/gist_id}","starred_url":"https://api.github.com/users/gerardroche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerardroche/subscriptions","organizations_url":"https://api.github.com/users/gerardroche/orgs","repos_url":"https://api.github.com/users/gerardroche/repos","events_url":"https://api.github.com/users/gerardroche/events{/privacy}","received_events_url":"https://api.github.com/users/gerardroche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gerardroche/php-build","description":"Builds PHP so that multiple versions can be used side by side.","fork":true,"url":"https://api.github.com/repos/gerardroche/php-build","forks_url":"https://api.github.com/repos/gerardroche/php-build/forks","keys_url":"https://api.github.com/repos/gerardroche/php-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gerardroche/php-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gerardroche/php-build/teams","hooks_url":"https://api.github.com/repos/gerardroche/php-build/hooks","issue_events_url":"https://api.github.com/repos/gerardroche/php-build/issues/events{/number}","events_url":"https://api.github.com/repos/gerardroche/php-build/events","assignees_url":"https://api.github.com/repos/gerardroche/php-build/assignees{/user}","branches_url":"https://api.github.com/repos/gerardroche/php-build/branches{/branch}","tags_url":"https://api.github.com/repos/gerardroche/php-build/tags","blobs_url":"https://api.github.com/repos/gerardroche/php-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gerardroche/php-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gerardroche/php-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/gerardroche/php-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gerardroche/php-build/statuses/{sha}","languages_url":"https://api.github.com/repos/gerardroche/php-build/languages","stargazers_url":"https://api.github.com/repos/gerardroche/php-build/stargazers","contributors_url":"https://api.github.com/repos/gerardroche/php-build/contributors","subscribers_url":"https://api.github.com/repos/gerardroche/php-build/subscribers","subscription_url":"https://api.github.com/repos/gerardroche/php-build/subscription","commits_url":"https://api.github.com/repos/gerardroche/php-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/gerardroche/php-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/gerardroche/php-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/gerardroche/php-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/gerardroche/php-build/contents/{+path}","compare_url":"https://api.github.com/repos/gerardroche/php-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gerardroche/php-build/merges","archive_url":"https://api.github.com/repos/gerardroche/php-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gerardroche/php-build/downloads","issues_url":"https://api.github.com/repos/gerardroche/php-build/issues{/number}","pulls_url":"https://api.github.com/repos/gerardroche/php-build/pulls{/number}","milestones_url":"https://api.github.com/repos/gerardroche/php-build/milestones{/number}","notifications_url":"https://api.github.com/repos/gerardroche/php-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gerardroche/php-build/labels{/name}","releases_url":"https://api.github.com/repos/gerardroche/php-build/releases{/id}","created_at":"2014-01-31T18:48:10Z","updated_at":"2015-04-19T17:27:54Z","pushed_at":"2015-04-20T16:55:03Z","git_url":"git://github.com/gerardroche/php-build.git","ssh_url":"git@github.com:gerardroche/php-build.git","clone_url":"https://github.com/gerardroche/php-build.git","svn_url":"https://github.com/gerardroche/php-build","homepage":"http://chh.github.com/php-build","size":683,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"php-build:master","ref":"master","sha":"868557f9f7d5b6b3d9d9f4eaca3f2729e6dff978","user":{"login":"php-build","id":8250695,"avatar_url":"https://avatars.githubusercontent.com/u/8250695?v=3","gravatar_id":"","url":"https://api.github.com/users/php-build","html_url":"https://github.com/php-build","followers_url":"https://api.github.com/users/php-build/followers","following_url":"https://api.github.com/users/php-build/following{/other_user}","gists_url":"https://api.github.com/users/php-build/gists{/gist_id}","starred_url":"https://api.github.com/users/php-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-build/subscriptions","organizations_url":"https://api.github.com/users/php-build/orgs","repos_url":"https://api.github.com/users/php-build/repos","events_url":"https://api.github.com/users/php-build/events{/privacy}","received_events_url":"https://api.github.com/users/php-build/received_events","type":"Organization","site_admin":false},"repo":{"id":2198467,"name":"php-build","full_name":"php-build/php-build","owner":{"login":"php-build","id":8250695,"avatar_url":"https://avatars.githubusercontent.com/u/8250695?v=3","gravatar_id":"","url":"https://api.github.com/users/php-build","html_url":"https://github.com/php-build","followers_url":"https://api.github.com/users/php-build/followers","following_url":"https://api.github.com/users/php-build/following{/other_user}","gists_url":"https://api.github.com/users/php-build/gists{/gist_id}","starred_url":"https://api.github.com/users/php-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-build/subscriptions","organizations_url":"https://api.github.com/users/php-build/orgs","repos_url":"https://api.github.com/users/php-build/repos","events_url":"https://api.github.com/users/php-build/events{/privacy}","received_events_url":"https://api.github.com/users/php-build/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-build/php-build","description":"Builds PHP so that multiple versions can be used side by side.","fork":false,"url":"https://api.github.com/repos/php-build/php-build","forks_url":"https://api.github.com/repos/php-build/php-build/forks","keys_url":"https://api.github.com/repos/php-build/php-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-build/php-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-build/php-build/teams","hooks_url":"https://api.github.com/repos/php-build/php-build/hooks","issue_events_url":"https://api.github.com/repos/php-build/php-build/issues/events{/number}","events_url":"https://api.github.com/repos/php-build/php-build/events","assignees_url":"https://api.github.com/repos/php-build/php-build/assignees{/user}","branches_url":"https://api.github.com/repos/php-build/php-build/branches{/branch}","tags_url":"https://api.github.com/repos/php-build/php-build/tags","blobs_url":"https://api.github.com/repos/php-build/php-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-build/php-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-build/php-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-build/php-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-build/php-build/statuses/{sha}","languages_url":"https://api.github.com/repos/php-build/php-build/languages","stargazers_url":"https://api.github.com/repos/php-build/php-build/stargazers","contributors_url":"https://api.github.com/repos/php-build/php-build/contributors","subscribers_url":"https://api.github.com/repos/php-build/php-build/subscribers","subscription_url":"https://api.github.com/repos/php-build/php-build/subscription","commits_url":"https://api.github.com/repos/php-build/php-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-build/php-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-build/php-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-build/php-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-build/php-build/contents/{+path}","compare_url":"https://api.github.com/repos/php-build/php-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-build/php-build/merges","archive_url":"https://api.github.com/repos/php-build/php-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-build/php-build/downloads","issues_url":"https://api.github.com/repos/php-build/php-build/issues{/number}","pulls_url":"https://api.github.com/repos/php-build/php-build/pulls{/number}","milestones_url":"https://api.github.com/repos/php-build/php-build/milestones{/number}","notifications_url":"https://api.github.com/repos/php-build/php-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-build/php-build/labels{/name}","releases_url":"https://api.github.com/repos/php-build/php-build/releases{/id}","created_at":"2011-08-12T18:09:20Z","updated_at":"2015-04-20T07:58:55Z","pushed_at":"2015-04-20T07:58:55Z","git_url":"git://github.com/php-build/php-build.git","ssh_url":"git@github.com:php-build/php-build.git","clone_url":"https://github.com/php-build/php-build.git","svn_url":"https://github.com/php-build/php-build","homepage":"https://php-build.github.io","size":1998,"stargazers_count":429,"watchers_count":429,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":27,"forks":74,"open_issues":27,"watchers":429,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php-build/php-build/pulls/282"},"html":{"href":"https://github.com/php-build/php-build/pull/282"},"issue":{"href":"https://api.github.com/repos/php-build/php-build/issues/282"},"comments":{"href":"https://api.github.com/repos/php-build/php-build/issues/282/comments"},"review_comments":{"href":"https://api.github.com/repos/php-build/php-build/pulls/282/comments"},"review_comment":{"href":"https://api.github.com/repos/php-build/php-build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php-build/php-build/pulls/282/commits"},"statuses":{"href":"https://api.github.com/repos/php-build/php-build/statuses/2f928bfc74a087d069e69df1e2345742ce59061b"}}}}