{"action":"created","comment":{"url":"https://api.github.com/repos/ocaml/opam-repository/pulls/comments/42341221","id":42341221,"diff_hunk":"@@ -2,7 +2,9 @@ opam-version: \"1\"\n maintainer: \"francois.berenger@inria.fr\"\n homepage: \"http://zeromq.org/\"\n license: \"LGPL\"\n-build: [[\"cc\" \"test.c\" \"-lzmq\"]]\n+build: [\n+  [\"sh\" \"-c\" \"cc test.c -I/usr/local/include -L/usr/local/lib -lzmq\"]\n+]","path":"packages/conf-zmq/conf-zmq.0.1/opam","position":7,"original_position":7,"commit_id":"5cff7f1568c6fafb9902886d8333bdec19032c4e","original_commit_id":"5cff7f1568c6fafb9902886d8333bdec19032c4e","user":{"login":"yallop","id":1736496,"avatar_url":"https://avatars.githubusercontent.com/u/1736496?v=3","gravatar_id":"","url":"https://api.github.com/users/yallop","html_url":"https://github.com/yallop","followers_url":"https://api.github.com/users/yallop/followers","following_url":"https://api.github.com/users/yallop/following{/other_user}","gists_url":"https://api.github.com/users/yallop/gists{/gist_id}","starred_url":"https://api.github.com/users/yallop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yallop/subscriptions","organizations_url":"https://api.github.com/users/yallop/orgs","repos_url":"https://api.github.com/users/yallop/repos","events_url":"https://api.github.com/users/yallop/events{/privacy}","received_events_url":"https://api.github.com/users/yallop/received_events","type":"User","site_admin":false},"body":"Why the explicit call to `sh` rather than something like the following?\r\n\r\n```\r\n[\"cc\" \"test.c\" \"-I/usr/local/include\" \"-L/usr/local/lib\" \"-lzmq\"]\r\n```","created_at":"2015-10-19T07:15:27Z","updated_at":"2015-10-19T07:15:27Z","html_url":"https://github.com/ocaml/opam-repository/pull/5008#discussion_r42341221","pull_request_url":"https://api.github.com/repos/ocaml/opam-repository/pulls/5008","_links":{"self":{"href":"https://api.github.com/repos/ocaml/opam-repository/pulls/comments/42341221"},"html":{"href":"https://github.com/ocaml/opam-repository/pull/5008#discussion_r42341221"},"pull_request":{"href":"https://api.github.com/repos/ocaml/opam-repository/pulls/5008"}}},"pull_request":{"url":"https://api.github.com/repos/ocaml/opam-repository/pulls/5008","id":47982175,"html_url":"https://github.com/ocaml/opam-repository/pull/5008","diff_url":"https://github.com/ocaml/opam-repository/pull/5008.diff","patch_url":"https://github.com/ocaml/opam-repository/pull/5008.patch","issue_url":"https://api.github.com/repos/ocaml/opam-repository/issues/5008","number":5008,"state":"open","locked":false,"title":"fix for osx","user":{"login":"UnixJunkie","id":737920,"avatar_url":"https://avatars.githubusercontent.com/u/737920?v=3","gravatar_id":"","url":"https://api.github.com/users/UnixJunkie","html_url":"https://github.com/UnixJunkie","followers_url":"https://api.github.com/users/UnixJunkie/followers","following_url":"https://api.github.com/users/UnixJunkie/following{/other_user}","gists_url":"https://api.github.com/users/UnixJunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/UnixJunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnixJunkie/subscriptions","organizations_url":"https://api.github.com/users/UnixJunkie/orgs","repos_url":"https://api.github.com/users/UnixJunkie/repos","events_url":"https://api.github.com/users/UnixJunkie/events{/privacy}","received_events_url":"https://api.github.com/users/UnixJunkie/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-17T08:04:45Z","updated_at":"2015-10-19T07:15:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0dc10ce38cc7b3793e43d99cdb420734bf0050d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ocaml/opam-repository/pulls/5008/commits","review_comments_url":"https://api.github.com/repos/ocaml/opam-repository/pulls/5008/comments","review_comment_url":"https://api.github.com/repos/ocaml/opam-repository/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ocaml/opam-repository/issues/5008/comments","statuses_url":"https://api.github.com/repos/ocaml/opam-repository/statuses/5cff7f1568c6fafb9902886d8333bdec19032c4e","head":{"label":"UnixJunkie:better-conf-zmq","ref":"better-conf-zmq","sha":"5cff7f1568c6fafb9902886d8333bdec19032c4e","user":{"login":"UnixJunkie","id":737920,"avatar_url":"https://avatars.githubusercontent.com/u/737920?v=3","gravatar_id":"","url":"https://api.github.com/users/UnixJunkie","html_url":"https://github.com/UnixJunkie","followers_url":"https://api.github.com/users/UnixJunkie/followers","following_url":"https://api.github.com/users/UnixJunkie/following{/other_user}","gists_url":"https://api.github.com/users/UnixJunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/UnixJunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnixJunkie/subscriptions","organizations_url":"https://api.github.com/users/UnixJunkie/orgs","repos_url":"https://api.github.com/users/UnixJunkie/repos","events_url":"https://api.github.com/users/UnixJunkie/events{/privacy}","received_events_url":"https://api.github.com/users/UnixJunkie/received_events","type":"User","site_admin":false},"repo":{"id":7235110,"name":"opam-repository","full_name":"UnixJunkie/opam-repository","owner":{"login":"UnixJunkie","id":737920,"avatar_url":"https://avatars.githubusercontent.com/u/737920?v=3","gravatar_id":"","url":"https://api.github.com/users/UnixJunkie","html_url":"https://github.com/UnixJunkie","followers_url":"https://api.github.com/users/UnixJunkie/followers","following_url":"https://api.github.com/users/UnixJunkie/following{/other_user}","gists_url":"https://api.github.com/users/UnixJunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/UnixJunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnixJunkie/subscriptions","organizations_url":"https://api.github.com/users/UnixJunkie/orgs","repos_url":"https://api.github.com/users/UnixJunkie/repos","events_url":"https://api.github.com/users/UnixJunkie/events{/privacy}","received_events_url":"https://api.github.com/users/UnixJunkie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/UnixJunkie/opam-repository","description":"Package descriptions for OPAM","fork":true,"url":"https://api.github.com/repos/UnixJunkie/opam-repository","forks_url":"https://api.github.com/repos/UnixJunkie/opam-repository/forks","keys_url":"https://api.github.com/repos/UnixJunkie/opam-repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UnixJunkie/opam-repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UnixJunkie/opam-repository/teams","hooks_url":"https://api.github.com/repos/UnixJunkie/opam-repository/hooks","issue_events_url":"https://api.github.com/repos/UnixJunkie/opam-repository/issues/events{/number}","events_url":"https://api.github.com/repos/UnixJunkie/opam-repository/events","assignees_url":"https://api.github.com/repos/UnixJunkie/opam-repository/assignees{/user}","branches_url":"https://api.github.com/repos/UnixJunkie/opam-repository/branches{/branch}","tags_url":"https://api.github.com/repos/UnixJunkie/opam-repository/tags","blobs_url":"https://api.github.com/repos/UnixJunkie/opam-repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UnixJunkie/opam-repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UnixJunkie/opam-repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/UnixJunkie/opam-repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UnixJunkie/opam-repository/statuses/{sha}","languages_url":"https://api.github.com/repos/UnixJunkie/opam-repository/languages","stargazers_url":"https://api.github.com/repos/UnixJunkie/opam-repository/stargazers","contributors_url":"https://api.github.com/repos/UnixJunkie/opam-repository/contributors","subscribers_url":"https://api.github.com/repos/UnixJunkie/opam-repository/subscribers","subscription_url":"https://api.github.com/repos/UnixJunkie/opam-repository/subscription","commits_url":"https://api.github.com/repos/UnixJunkie/opam-repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/UnixJunkie/opam-repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/UnixJunkie/opam-repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/UnixJunkie/opam-repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/UnixJunkie/opam-repository/contents/{+path}","compare_url":"https://api.github.com/repos/UnixJunkie/opam-repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UnixJunkie/opam-repository/merges","archive_url":"https://api.github.com/repos/UnixJunkie/opam-repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UnixJunkie/opam-repository/downloads","issues_url":"https://api.github.com/repos/UnixJunkie/opam-repository/issues{/number}","pulls_url":"https://api.github.com/repos/UnixJunkie/opam-repository/pulls{/number}","milestones_url":"https://api.github.com/repos/UnixJunkie/opam-repository/milestones{/number}","notifications_url":"https://api.github.com/repos/UnixJunkie/opam-repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UnixJunkie/opam-repository/labels{/name}","releases_url":"https://api.github.com/repos/UnixJunkie/opam-repository/releases{/id}","created_at":"2012-12-19T04:44:41Z","updated_at":"2015-04-12T14:00:49Z","pushed_at":"2015-10-17T08:04:30Z","git_url":"git://github.com/UnixJunkie/opam-repository.git","ssh_url":"git@github.com:UnixJunkie/opam-repository.git","clone_url":"https://github.com/UnixJunkie/opam-repository.git","svn_url":"https://github.com/UnixJunkie/opam-repository","homepage":"opam.ocamlpro.com","size":18367,"stargazers_count":1,"watchers_count":1,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ocaml:master","ref":"master","sha":"266ade42060f9832f76cf23b937862c19fb2a254","user":{"login":"ocaml","id":1841483,"avatar_url":"https://avatars.githubusercontent.com/u/1841483?v=3","gravatar_id":"","url":"https://api.github.com/users/ocaml","html_url":"https://github.com/ocaml","followers_url":"https://api.github.com/users/ocaml/followers","following_url":"https://api.github.com/users/ocaml/following{/other_user}","gists_url":"https://api.github.com/users/ocaml/gists{/gist_id}","starred_url":"https://api.github.com/users/ocaml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocaml/subscriptions","organizations_url":"https://api.github.com/users/ocaml/orgs","repos_url":"https://api.github.com/users/ocaml/repos","events_url":"https://api.github.com/users/ocaml/events{/privacy}","received_events_url":"https://api.github.com/users/ocaml/received_events","type":"Organization","site_admin":false},"repo":{"id":4508653,"name":"opam-repository","full_name":"ocaml/opam-repository","owner":{"login":"ocaml","id":1841483,"avatar_url":"https://avatars.githubusercontent.com/u/1841483?v=3","gravatar_id":"","url":"https://api.github.com/users/ocaml","html_url":"https://github.com/ocaml","followers_url":"https://api.github.com/users/ocaml/followers","following_url":"https://api.github.com/users/ocaml/following{/other_user}","gists_url":"https://api.github.com/users/ocaml/gists{/gist_id}","starred_url":"https://api.github.com/users/ocaml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocaml/subscriptions","organizations_url":"https://api.github.com/users/ocaml/orgs","repos_url":"https://api.github.com/users/ocaml/repos","events_url":"https://api.github.com/users/ocaml/events{/privacy}","received_events_url":"https://api.github.com/users/ocaml/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocaml/opam-repository","description":"Main public package repository for OPAM, the source package manager of OCaml.","fork":false,"url":"https://api.github.com/repos/ocaml/opam-repository","forks_url":"https://api.github.com/repos/ocaml/opam-repository/forks","keys_url":"https://api.github.com/repos/ocaml/opam-repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocaml/opam-repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocaml/opam-repository/teams","hooks_url":"https://api.github.com/repos/ocaml/opam-repository/hooks","issue_events_url":"https://api.github.com/repos/ocaml/opam-repository/issues/events{/number}","events_url":"https://api.github.com/repos/ocaml/opam-repository/events","assignees_url":"https://api.github.com/repos/ocaml/opam-repository/assignees{/user}","branches_url":"https://api.github.com/repos/ocaml/opam-repository/branches{/branch}","tags_url":"https://api.github.com/repos/ocaml/opam-repository/tags","blobs_url":"https://api.github.com/repos/ocaml/opam-repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocaml/opam-repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocaml/opam-repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocaml/opam-repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocaml/opam-repository/statuses/{sha}","languages_url":"https://api.github.com/repos/ocaml/opam-repository/languages","stargazers_url":"https://api.github.com/repos/ocaml/opam-repository/stargazers","contributors_url":"https://api.github.com/repos/ocaml/opam-repository/contributors","subscribers_url":"https://api.github.com/repos/ocaml/opam-repository/subscribers","subscription_url":"https://api.github.com/repos/ocaml/opam-repository/subscription","commits_url":"https://api.github.com/repos/ocaml/opam-repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocaml/opam-repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocaml/opam-repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocaml/opam-repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocaml/opam-repository/contents/{+path}","compare_url":"https://api.github.com/repos/ocaml/opam-repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocaml/opam-repository/merges","archive_url":"https://api.github.com/repos/ocaml/opam-repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocaml/opam-repository/downloads","issues_url":"https://api.github.com/repos/ocaml/opam-repository/issues{/number}","pulls_url":"https://api.github.com/repos/ocaml/opam-repository/pulls{/number}","milestones_url":"https://api.github.com/repos/ocaml/opam-repository/milestones{/number}","notifications_url":"https://api.github.com/repos/ocaml/opam-repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocaml/opam-repository/labels{/name}","releases_url":"https://api.github.com/repos/ocaml/opam-repository/releases{/id}","created_at":"2012-05-31T14:25:57Z","updated_at":"2015-10-18T07:18:01Z","pushed_at":"2015-10-19T07:13:42Z","git_url":"git://github.com/ocaml/opam-repository.git","ssh_url":"git@github.com:ocaml/opam-repository.git","clone_url":"https://github.com/ocaml/opam-repository.git","svn_url":"https://github.com/ocaml/opam-repository","homepage":"opam.ocaml.org","size":50326,"stargazers_count":110,"watchers_count":110,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":306,"mirror_url":null,"open_issues_count":107,"forks":306,"open_issues":107,"watchers":110,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ocaml/opam-repository/pulls/5008"},"html":{"href":"https://github.com/ocaml/opam-repository/pull/5008"},"issue":{"href":"https://api.github.com/repos/ocaml/opam-repository/issues/5008"},"comments":{"href":"https://api.github.com/repos/ocaml/opam-repository/issues/5008/comments"},"review_comments":{"href":"https://api.github.com/repos/ocaml/opam-repository/pulls/5008/comments"},"review_comment":{"href":"https://api.github.com/repos/ocaml/opam-repository/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ocaml/opam-repository/pulls/5008/commits"},"statuses":{"href":"https://api.github.com/repos/ocaml/opam-repository/statuses/5cff7f1568c6fafb9902886d8333bdec19032c4e"}}}}