{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/55124341","id":55124341,"diff_hunk":"@@ -22,13 +22,21 @@ def install\n     (buildpath/\"gopath/src/github.com/zchee/docker-machine-driver-xhyve\").install Dir[\"{*,.git,.gitignore}\"]\n \n     ENV[\"GOPATH\"] = \"#{buildpath}/gopath\"\n-\n-    cd buildpath/\"gopath/src/github.com/zchee/docker-machine-driver-xhyve\" do\n+    build_root = buildpath/\"gopath/src/github.com/zchee/docker-machine-driver-xhyve\"\n+    cd build_root do\n       if build.head?\n         git_hash = `git rev-parse --short HEAD --quiet`.chomp\n-        git_hash = \" HEAD-#{git_hash}\"\n+        git_hash = \"HEAD-#{git_hash}\"\n+        ENV[\"CGO_LDFLAGS\"] = \"#{build_root}/vendor/build/lib9p/lib9p.a -L#{build_root}/vendor/lib9p\"\n+        ENV[\"CGO_CFLAGS\"] = \"-I#{build_root}/vendor/lib9p\"\n+        mkdir \"vendor/build\"","path":"Library/Formula/docker-machine-driver-xhyve.rb","position":14,"original_position":14,"commit_id":"01e581f9e7f9c0a62762d10ebfa014a9779129a3","original_commit_id":"01e581f9e7f9c0a62762d10ebfa014a9779129a3","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"The Ruby version of `mkdir -p` is just `mkdir_p`, and `mkpath` is an alias of that :). Outside of Homebrew you'd call it with `FileUtils.mkdir_p` for example, which may be why it didn't show up on searching.","created_at":"2016-03-05T17:17:51Z","updated_at":"2016-03-05T17:17:51Z","html_url":"https://github.com/Homebrew/homebrew/pull/49467#discussion_r55124341","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49467","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/55124341"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/49467#discussion_r55124341"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49467"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49467","id":60430513,"html_url":"https://github.com/Homebrew/homebrew/pull/49467","diff_url":"https://github.com/Homebrew/homebrew/pull/49467.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/49467.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49467","number":49467,"state":"open","locked":false,"title":"Fix docker-machine-driver-xhyve HEAD","user":{"login":"PerilousApricot","id":93354,"avatar_url":"https://avatars.githubusercontent.com/u/93354?v=3","gravatar_id":"","url":"https://api.github.com/users/PerilousApricot","html_url":"https://github.com/PerilousApricot","followers_url":"https://api.github.com/users/PerilousApricot/followers","following_url":"https://api.github.com/users/PerilousApricot/following{/other_user}","gists_url":"https://api.github.com/users/PerilousApricot/gists{/gist_id}","starred_url":"https://api.github.com/users/PerilousApricot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerilousApricot/subscriptions","organizations_url":"https://api.github.com/users/PerilousApricot/orgs","repos_url":"https://api.github.com/users/PerilousApricot/repos","events_url":"https://api.github.com/users/PerilousApricot/events{/privacy}","received_events_url":"https://api.github.com/users/PerilousApricot/received_events","type":"User","site_admin":false},"body":"Tested with and w/o --HEAD, and with audit.","created_at":"2016-02-23T23:37:05Z","updated_at":"2016-03-05T17:17:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"726e720074cde9c58e6c8f89b407c42dae6bb0e2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49467/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49467/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49467/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/01e581f9e7f9c0a62762d10ebfa014a9779129a3","head":{"label":"PerilousApricot:docker-xhyve-driver","ref":"docker-xhyve-driver","sha":"01e581f9e7f9c0a62762d10ebfa014a9779129a3","user":{"login":"PerilousApricot","id":93354,"avatar_url":"https://avatars.githubusercontent.com/u/93354?v=3","gravatar_id":"","url":"https://api.github.com/users/PerilousApricot","html_url":"https://github.com/PerilousApricot","followers_url":"https://api.github.com/users/PerilousApricot/followers","following_url":"https://api.github.com/users/PerilousApricot/following{/other_user}","gists_url":"https://api.github.com/users/PerilousApricot/gists{/gist_id}","starred_url":"https://api.github.com/users/PerilousApricot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerilousApricot/subscriptions","organizations_url":"https://api.github.com/users/PerilousApricot/orgs","repos_url":"https://api.github.com/users/PerilousApricot/repos","events_url":"https://api.github.com/users/PerilousApricot/events{/privacy}","received_events_url":"https://api.github.com/users/PerilousApricot/received_events","type":"User","site_admin":false},"repo":{"id":52398684,"name":"homebrew","full_name":"PerilousApricot/homebrew","owner":{"login":"PerilousApricot","id":93354,"avatar_url":"https://avatars.githubusercontent.com/u/93354?v=3","gravatar_id":"","url":"https://api.github.com/users/PerilousApricot","html_url":"https://github.com/PerilousApricot","followers_url":"https://api.github.com/users/PerilousApricot/followers","following_url":"https://api.github.com/users/PerilousApricot/following{/other_user}","gists_url":"https://api.github.com/users/PerilousApricot/gists{/gist_id}","starred_url":"https://api.github.com/users/PerilousApricot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerilousApricot/subscriptions","organizations_url":"https://api.github.com/users/PerilousApricot/orgs","repos_url":"https://api.github.com/users/PerilousApricot/repos","events_url":"https://api.github.com/users/PerilousApricot/events{/privacy}","received_events_url":"https://api.github.com/users/PerilousApricot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PerilousApricot/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/PerilousApricot/homebrew","forks_url":"https://api.github.com/repos/PerilousApricot/homebrew/forks","keys_url":"https://api.github.com/repos/PerilousApricot/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PerilousApricot/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PerilousApricot/homebrew/teams","hooks_url":"https://api.github.com/repos/PerilousApricot/homebrew/hooks","issue_events_url":"https://api.github.com/repos/PerilousApricot/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/PerilousApricot/homebrew/events","assignees_url":"https://api.github.com/repos/PerilousApricot/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/PerilousApricot/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/PerilousApricot/homebrew/tags","blobs_url":"https://api.github.com/repos/PerilousApricot/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PerilousApricot/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PerilousApricot/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/PerilousApricot/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PerilousApricot/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/PerilousApricot/homebrew/languages","stargazers_url":"https://api.github.com/repos/PerilousApricot/homebrew/stargazers","contributors_url":"https://api.github.com/repos/PerilousApricot/homebrew/contributors","subscribers_url":"https://api.github.com/repos/PerilousApricot/homebrew/subscribers","subscription_url":"https://api.github.com/repos/PerilousApricot/homebrew/subscription","commits_url":"https://api.github.com/repos/PerilousApricot/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/PerilousApricot/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/PerilousApricot/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/PerilousApricot/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/PerilousApricot/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/PerilousApricot/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PerilousApricot/homebrew/merges","archive_url":"https://api.github.com/repos/PerilousApricot/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PerilousApricot/homebrew/downloads","issues_url":"https://api.github.com/repos/PerilousApricot/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/PerilousApricot/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/PerilousApricot/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/PerilousApricot/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PerilousApricot/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/PerilousApricot/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/PerilousApricot/homebrew/deployments","created_at":"2016-02-23T23:14:34Z","updated_at":"2016-02-23T23:14:54Z","pushed_at":"2016-02-23T23:34:49Z","git_url":"git://github.com/PerilousApricot/homebrew.git","ssh_url":"git@github.com:PerilousApricot/homebrew.git","clone_url":"https://github.com/PerilousApricot/homebrew.git","svn_url":"https://github.com/PerilousApricot/homebrew","homepage":"http://brew.sh","size":80726,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"6022c0fc2e00f70a220a0a9ec021e55a233ae5a8","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew/deployments","created_at":"2009-05-20T19:38:37Z","updated_at":"2016-03-05T16:26:07Z","pushed_at":"2016-03-05T16:47:56Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1429572,"stargazers_count":29483,"watchers_count":29483,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":14500,"mirror_url":null,"open_issues_count":476,"forks":14500,"open_issues":476,"watchers":29483,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49467"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/49467"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/49467"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/49467/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49467/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49467/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/01e581f9e7f9c0a62762d10ebfa014a9779129a3"}}}}