{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/corbanworks/aws-blocker/pulls/3","id":77168703,"html_url":"https://github.com/corbanworks/aws-blocker/pull/3","diff_url":"https://github.com/corbanworks/aws-blocker/pull/3.diff","patch_url":"https://github.com/corbanworks/aws-blocker/pull/3.patch","issue_url":"https://api.github.com/repos/corbanworks/aws-blocker/issues/3","number":3,"state":"open","locked":false,"title":"Fails on Unbuntu with Syntax error","user":{"login":"chubbard","id":552157,"avatar_url":"https://avatars.githubusercontent.com/u/552157?v=3","gravatar_id":"","url":"https://api.github.com/users/chubbard","html_url":"https://github.com/chubbard","followers_url":"https://api.github.com/users/chubbard/followers","following_url":"https://api.github.com/users/chubbard/following{/other_user}","gists_url":"https://api.github.com/users/chubbard/gists{/gist_id}","starred_url":"https://api.github.com/users/chubbard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chubbard/subscriptions","organizations_url":"https://api.github.com/users/chubbard/orgs","repos_url":"https://api.github.com/users/chubbard/repos","events_url":"https://api.github.com/users/chubbard/events{/privacy}","received_events_url":"https://api.github.com/users/chubbard/received_events","type":"User","site_admin":false},"body":"On Ubuntu the default shell is /bin/dash not /bin/bash so the shell doesn't support bash <<< redirection.  You get the following error:\r\n\r\n ./aws-blocker: Syntax error: redirection unexpected\r\n\r\nThe proper hash bang syntax was incorrect causing it to execute in /bin/bash instead of/bin/bash.  Added the #! at the top.","created_at":"2016-07-12T18:34:55Z","updated_at":"2016-07-12T18:34:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/corbanworks/aws-blocker/pulls/3/commits","review_comments_url":"https://api.github.com/repos/corbanworks/aws-blocker/pulls/3/comments","review_comment_url":"https://api.github.com/repos/corbanworks/aws-blocker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/corbanworks/aws-blocker/issues/3/comments","statuses_url":"https://api.github.com/repos/corbanworks/aws-blocker/statuses/f17100178816397986c6826ab81adfacba7c3be1","head":{"label":"chubbard:patch-1","ref":"patch-1","sha":"f17100178816397986c6826ab81adfacba7c3be1","user":{"login":"chubbard","id":552157,"avatar_url":"https://avatars.githubusercontent.com/u/552157?v=3","gravatar_id":"","url":"https://api.github.com/users/chubbard","html_url":"https://github.com/chubbard","followers_url":"https://api.github.com/users/chubbard/followers","following_url":"https://api.github.com/users/chubbard/following{/other_user}","gists_url":"https://api.github.com/users/chubbard/gists{/gist_id}","starred_url":"https://api.github.com/users/chubbard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chubbard/subscriptions","organizations_url":"https://api.github.com/users/chubbard/orgs","repos_url":"https://api.github.com/users/chubbard/repos","events_url":"https://api.github.com/users/chubbard/events{/privacy}","received_events_url":"https://api.github.com/users/chubbard/received_events","type":"User","site_admin":false},"repo":{"id":63183064,"name":"aws-blocker","full_name":"chubbard/aws-blocker","owner":{"login":"chubbard","id":552157,"avatar_url":"https://avatars.githubusercontent.com/u/552157?v=3","gravatar_id":"","url":"https://api.github.com/users/chubbard","html_url":"https://github.com/chubbard","followers_url":"https://api.github.com/users/chubbard/followers","following_url":"https://api.github.com/users/chubbard/following{/other_user}","gists_url":"https://api.github.com/users/chubbard/gists{/gist_id}","starred_url":"https://api.github.com/users/chubbard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chubbard/subscriptions","organizations_url":"https://api.github.com/users/chubbard/orgs","repos_url":"https://api.github.com/users/chubbard/repos","events_url":"https://api.github.com/users/chubbard/events{/privacy}","received_events_url":"https://api.github.com/users/chubbard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chubbard/aws-blocker","description":"A simple bash script to block all AWS IP ranges using iptables.","fork":true,"url":"https://api.github.com/repos/chubbard/aws-blocker","forks_url":"https://api.github.com/repos/chubbard/aws-blocker/forks","keys_url":"https://api.github.com/repos/chubbard/aws-blocker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chubbard/aws-blocker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chubbard/aws-blocker/teams","hooks_url":"https://api.github.com/repos/chubbard/aws-blocker/hooks","issue_events_url":"https://api.github.com/repos/chubbard/aws-blocker/issues/events{/number}","events_url":"https://api.github.com/repos/chubbard/aws-blocker/events","assignees_url":"https://api.github.com/repos/chubbard/aws-blocker/assignees{/user}","branches_url":"https://api.github.com/repos/chubbard/aws-blocker/branches{/branch}","tags_url":"https://api.github.com/repos/chubbard/aws-blocker/tags","blobs_url":"https://api.github.com/repos/chubbard/aws-blocker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chubbard/aws-blocker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chubbard/aws-blocker/git/refs{/sha}","trees_url":"https://api.github.com/repos/chubbard/aws-blocker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chubbard/aws-blocker/statuses/{sha}","languages_url":"https://api.github.com/repos/chubbard/aws-blocker/languages","stargazers_url":"https://api.github.com/repos/chubbard/aws-blocker/stargazers","contributors_url":"https://api.github.com/repos/chubbard/aws-blocker/contributors","subscribers_url":"https://api.github.com/repos/chubbard/aws-blocker/subscribers","subscription_url":"https://api.github.com/repos/chubbard/aws-blocker/subscription","commits_url":"https://api.github.com/repos/chubbard/aws-blocker/commits{/sha}","git_commits_url":"https://api.github.com/repos/chubbard/aws-blocker/git/commits{/sha}","comments_url":"https://api.github.com/repos/chubbard/aws-blocker/comments{/number}","issue_comment_url":"https://api.github.com/repos/chubbard/aws-blocker/issues/comments{/number}","contents_url":"https://api.github.com/repos/chubbard/aws-blocker/contents/{+path}","compare_url":"https://api.github.com/repos/chubbard/aws-blocker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chubbard/aws-blocker/merges","archive_url":"https://api.github.com/repos/chubbard/aws-blocker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chubbard/aws-blocker/downloads","issues_url":"https://api.github.com/repos/chubbard/aws-blocker/issues{/number}","pulls_url":"https://api.github.com/repos/chubbard/aws-blocker/pulls{/number}","milestones_url":"https://api.github.com/repos/chubbard/aws-blocker/milestones{/number}","notifications_url":"https://api.github.com/repos/chubbard/aws-blocker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chubbard/aws-blocker/labels{/name}","releases_url":"https://api.github.com/repos/chubbard/aws-blocker/releases{/id}","deployments_url":"https://api.github.com/repos/chubbard/aws-blocker/deployments","created_at":"2016-07-12T18:32:32Z","updated_at":"2016-07-12T18:32:33Z","pushed_at":"2016-07-12T18:34:43Z","git_url":"git://github.com/chubbard/aws-blocker.git","ssh_url":"git@github.com:chubbard/aws-blocker.git","clone_url":"https://github.com/chubbard/aws-blocker.git","svn_url":"https://github.com/chubbard/aws-blocker","homepage":null,"size":132,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"default_branch":"master"}},"base":{"label":"corbanworks:master","ref":"master","sha":"ebeccaf2e7eab0ae3534ea3a68dbb02d923abe76","user":{"login":"corbanworks","id":6644471,"avatar_url":"https://avatars.githubusercontent.com/u/6644471?v=3","gravatar_id":"","url":"https://api.github.com/users/corbanworks","html_url":"https://github.com/corbanworks","followers_url":"https://api.github.com/users/corbanworks/followers","following_url":"https://api.github.com/users/corbanworks/following{/other_user}","gists_url":"https://api.github.com/users/corbanworks/gists{/gist_id}","starred_url":"https://api.github.com/users/corbanworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corbanworks/subscriptions","organizations_url":"https://api.github.com/users/corbanworks/orgs","repos_url":"https://api.github.com/users/corbanworks/repos","events_url":"https://api.github.com/users/corbanworks/events{/privacy}","received_events_url":"https://api.github.com/users/corbanworks/received_events","type":"Organization","site_admin":false},"repo":{"id":28924037,"name":"aws-blocker","full_name":"corbanworks/aws-blocker","owner":{"login":"corbanworks","id":6644471,"avatar_url":"https://avatars.githubusercontent.com/u/6644471?v=3","gravatar_id":"","url":"https://api.github.com/users/corbanworks","html_url":"https://github.com/corbanworks","followers_url":"https://api.github.com/users/corbanworks/followers","following_url":"https://api.github.com/users/corbanworks/following{/other_user}","gists_url":"https://api.github.com/users/corbanworks/gists{/gist_id}","starred_url":"https://api.github.com/users/corbanworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corbanworks/subscriptions","organizations_url":"https://api.github.com/users/corbanworks/orgs","repos_url":"https://api.github.com/users/corbanworks/repos","events_url":"https://api.github.com/users/corbanworks/events{/privacy}","received_events_url":"https://api.github.com/users/corbanworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/corbanworks/aws-blocker","description":"A simple bash script to block all AWS IP ranges using iptables.","fork":false,"url":"https://api.github.com/repos/corbanworks/aws-blocker","forks_url":"https://api.github.com/repos/corbanworks/aws-blocker/forks","keys_url":"https://api.github.com/repos/corbanworks/aws-blocker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/corbanworks/aws-blocker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/corbanworks/aws-blocker/teams","hooks_url":"https://api.github.com/repos/corbanworks/aws-blocker/hooks","issue_events_url":"https://api.github.com/repos/corbanworks/aws-blocker/issues/events{/number}","events_url":"https://api.github.com/repos/corbanworks/aws-blocker/events","assignees_url":"https://api.github.com/repos/corbanworks/aws-blocker/assignees{/user}","branches_url":"https://api.github.com/repos/corbanworks/aws-blocker/branches{/branch}","tags_url":"https://api.github.com/repos/corbanworks/aws-blocker/tags","blobs_url":"https://api.github.com/repos/corbanworks/aws-blocker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/corbanworks/aws-blocker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/corbanworks/aws-blocker/git/refs{/sha}","trees_url":"https://api.github.com/repos/corbanworks/aws-blocker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/corbanworks/aws-blocker/statuses/{sha}","languages_url":"https://api.github.com/repos/corbanworks/aws-blocker/languages","stargazers_url":"https://api.github.com/repos/corbanworks/aws-blocker/stargazers","contributors_url":"https://api.github.com/repos/corbanworks/aws-blocker/contributors","subscribers_url":"https://api.github.com/repos/corbanworks/aws-blocker/subscribers","subscription_url":"https://api.github.com/repos/corbanworks/aws-blocker/subscription","commits_url":"https://api.github.com/repos/corbanworks/aws-blocker/commits{/sha}","git_commits_url":"https://api.github.com/repos/corbanworks/aws-blocker/git/commits{/sha}","comments_url":"https://api.github.com/repos/corbanworks/aws-blocker/comments{/number}","issue_comment_url":"https://api.github.com/repos/corbanworks/aws-blocker/issues/comments{/number}","contents_url":"https://api.github.com/repos/corbanworks/aws-blocker/contents/{+path}","compare_url":"https://api.github.com/repos/corbanworks/aws-blocker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/corbanworks/aws-blocker/merges","archive_url":"https://api.github.com/repos/corbanworks/aws-blocker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/corbanworks/aws-blocker/downloads","issues_url":"https://api.github.com/repos/corbanworks/aws-blocker/issues{/number}","pulls_url":"https://api.github.com/repos/corbanworks/aws-blocker/pulls{/number}","milestones_url":"https://api.github.com/repos/corbanworks/aws-blocker/milestones{/number}","notifications_url":"https://api.github.com/repos/corbanworks/aws-blocker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/corbanworks/aws-blocker/labels{/name}","releases_url":"https://api.github.com/repos/corbanworks/aws-blocker/releases{/id}","deployments_url":"https://api.github.com/repos/corbanworks/aws-blocker/deployments","created_at":"2015-01-07T16:55:49Z","updated_at":"2016-06-20T10:27:50Z","pushed_at":"2016-07-12T18:34:55Z","git_url":"git://github.com/corbanworks/aws-blocker.git","ssh_url":"git@github.com:corbanworks/aws-blocker.git","clone_url":"https://github.com/corbanworks/aws-blocker.git","svn_url":"https://github.com/corbanworks/aws-blocker","homepage":null,"size":132,"stargazers_count":21,"watchers_count":21,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":2,"forks":14,"open_issues":2,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/corbanworks/aws-blocker/pulls/3"},"html":{"href":"https://github.com/corbanworks/aws-blocker/pull/3"},"issue":{"href":"https://api.github.com/repos/corbanworks/aws-blocker/issues/3"},"comments":{"href":"https://api.github.com/repos/corbanworks/aws-blocker/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/corbanworks/aws-blocker/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/corbanworks/aws-blocker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/corbanworks/aws-blocker/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/corbanworks/aws-blocker/statuses/f17100178816397986c6826ab81adfacba7c3be1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"chubbard"}}