{"action":"created","comment":{"url":"https://api.github.com/repos/virtapi/installimage/pulls/comments/54720340","id":54720340,"diff_hunk":"@@ -67,43 +67,44 @@ while getopts \"han:b:r:l:i:p:v:d:f:c:R:s:z:x:gkK:\" OPTION ; do\n \n     # config file  (file.name)\n     c)\n-      if [ -e $CONFIGSPATH/$OPTARG ] ; then\n-        OPT_CONFIGFILE=$CONFIGSPATH/$OPTARG\n-      elif [ -e $OPTARG ] ; then\n-        OPT_CONFIGFILE=$OPTARG\n+      if [ -e \"$CONFIGSPATH/$OPTARG\" ] ; then\n+        OPT_CONFIGFILE=\"$CONFIGSPATH\"/$OPTARG","path":"get_options.sh","position":null,"original_position":18,"commit_id":"e5ae291d3bc4747cf5ecb8342d8b0f6e4a66662c","original_commit_id":"e648cd3d38cd8898846fedd0c8eea21c053d67e5","user":{"login":"bastelfreak","id":341866,"avatar_url":"https://avatars.githubusercontent.com/u/341866?v=3","gravatar_id":"","url":"https://api.github.com/users/bastelfreak","html_url":"https://github.com/bastelfreak","followers_url":"https://api.github.com/users/bastelfreak/followers","following_url":"https://api.github.com/users/bastelfreak/following{/other_user}","gists_url":"https://api.github.com/users/bastelfreak/gists{/gist_id}","starred_url":"https://api.github.com/users/bastelfreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastelfreak/subscriptions","organizations_url":"https://api.github.com/users/bastelfreak/orgs","repos_url":"https://api.github.com/users/bastelfreak/repos","events_url":"https://api.github.com/users/bastelfreak/events{/privacy}","received_events_url":"https://api.github.com/users/bastelfreak/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-03-02T13:15:37Z","updated_at":"2016-03-02T13:15:37Z","html_url":"https://github.com/virtapi/installimage/pull/71#discussion_r54720340","pull_request_url":"https://api.github.com/repos/virtapi/installimage/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/comments/54720340"},"html":{"href":"https://github.com/virtapi/installimage/pull/71#discussion_r54720340"},"pull_request":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/virtapi/installimage/pulls/71","id":60485725,"html_url":"https://github.com/virtapi/installimage/pull/71","diff_url":"https://github.com/virtapi/installimage/pull/71.diff","patch_url":"https://github.com/virtapi/installimage/pull/71.patch","issue_url":"https://api.github.com/repos/virtapi/installimage/issues/71","number":71,"state":"open","locked":false,"title":"[WIP] Validate scripts with shellcheck issue 6","user":{"login":"bastelfreak","id":341866,"avatar_url":"https://avatars.githubusercontent.com/u/341866?v=3","gravatar_id":"","url":"https://api.github.com/users/bastelfreak","html_url":"https://github.com/bastelfreak","followers_url":"https://api.github.com/users/bastelfreak/followers","following_url":"https://api.github.com/users/bastelfreak/following{/other_user}","gists_url":"https://api.github.com/users/bastelfreak/gists{/gist_id}","starred_url":"https://api.github.com/users/bastelfreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastelfreak/subscriptions","organizations_url":"https://api.github.com/users/bastelfreak/orgs","repos_url":"https://api.github.com/users/bastelfreak/repos","events_url":"https://api.github.com/users/bastelfreak/events{/privacy}","received_events_url":"https://api.github.com/users/bastelfreak/received_events","type":"User","site_admin":false},"body":"This is a work-in-progress PR, do not merge!\r\n\r\nI just created it for simpler discussion of the changes (because we are almost ready for merge) and for getting a suitable diff (I'm to lazy to always go to /compare)","created_at":"2016-02-24T10:19:24Z","updated_at":"2016-03-02T13:15:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc667d30002abb911a340c3f421bda09b4294108","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/virtapi/installimage/pulls/71/commits","review_comments_url":"https://api.github.com/repos/virtapi/installimage/pulls/71/comments","review_comment_url":"https://api.github.com/repos/virtapi/installimage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/virtapi/installimage/issues/71/comments","statuses_url":"https://api.github.com/repos/virtapi/installimage/statuses/e5ae291d3bc4747cf5ecb8342d8b0f6e4a66662c","head":{"label":"virtapi:validate_scripts_with_shellcheck_issue_6","ref":"validate_scripts_with_shellcheck_issue_6","sha":"e5ae291d3bc4747cf5ecb8342d8b0f6e4a66662c","user":{"login":"virtapi","id":12610395,"avatar_url":"https://avatars.githubusercontent.com/u/12610395?v=3","gravatar_id":"","url":"https://api.github.com/users/virtapi","html_url":"https://github.com/virtapi","followers_url":"https://api.github.com/users/virtapi/followers","following_url":"https://api.github.com/users/virtapi/following{/other_user}","gists_url":"https://api.github.com/users/virtapi/gists{/gist_id}","starred_url":"https://api.github.com/users/virtapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtapi/subscriptions","organizations_url":"https://api.github.com/users/virtapi/orgs","repos_url":"https://api.github.com/users/virtapi/repos","events_url":"https://api.github.com/users/virtapi/events{/privacy}","received_events_url":"https://api.github.com/users/virtapi/received_events","type":"Organization","site_admin":false},"repo":{"id":40267456,"name":"installimage","full_name":"virtapi/installimage","owner":{"login":"virtapi","id":12610395,"avatar_url":"https://avatars.githubusercontent.com/u/12610395?v=3","gravatar_id":"","url":"https://api.github.com/users/virtapi","html_url":"https://github.com/virtapi","followers_url":"https://api.github.com/users/virtapi/followers","following_url":"https://api.github.com/users/virtapi/following{/other_user}","gists_url":"https://api.github.com/users/virtapi/gists{/gist_id}","starred_url":"https://api.github.com/users/virtapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtapi/subscriptions","organizations_url":"https://api.github.com/users/virtapi/orgs","repos_url":"https://api.github.com/users/virtapi/repos","events_url":"https://api.github.com/users/virtapi/events{/privacy}","received_events_url":"https://api.github.com/users/virtapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/virtapi/installimage","description":"bash scripts for deploying every linux system","fork":false,"url":"https://api.github.com/repos/virtapi/installimage","forks_url":"https://api.github.com/repos/virtapi/installimage/forks","keys_url":"https://api.github.com/repos/virtapi/installimage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtapi/installimage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtapi/installimage/teams","hooks_url":"https://api.github.com/repos/virtapi/installimage/hooks","issue_events_url":"https://api.github.com/repos/virtapi/installimage/issues/events{/number}","events_url":"https://api.github.com/repos/virtapi/installimage/events","assignees_url":"https://api.github.com/repos/virtapi/installimage/assignees{/user}","branches_url":"https://api.github.com/repos/virtapi/installimage/branches{/branch}","tags_url":"https://api.github.com/repos/virtapi/installimage/tags","blobs_url":"https://api.github.com/repos/virtapi/installimage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtapi/installimage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtapi/installimage/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtapi/installimage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtapi/installimage/statuses/{sha}","languages_url":"https://api.github.com/repos/virtapi/installimage/languages","stargazers_url":"https://api.github.com/repos/virtapi/installimage/stargazers","contributors_url":"https://api.github.com/repos/virtapi/installimage/contributors","subscribers_url":"https://api.github.com/repos/virtapi/installimage/subscribers","subscription_url":"https://api.github.com/repos/virtapi/installimage/subscription","commits_url":"https://api.github.com/repos/virtapi/installimage/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtapi/installimage/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtapi/installimage/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtapi/installimage/issues/comments{/number}","contents_url":"https://api.github.com/repos/virtapi/installimage/contents/{+path}","compare_url":"https://api.github.com/repos/virtapi/installimage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtapi/installimage/merges","archive_url":"https://api.github.com/repos/virtapi/installimage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtapi/installimage/downloads","issues_url":"https://api.github.com/repos/virtapi/installimage/issues{/number}","pulls_url":"https://api.github.com/repos/virtapi/installimage/pulls{/number}","milestones_url":"https://api.github.com/repos/virtapi/installimage/milestones{/number}","notifications_url":"https://api.github.com/repos/virtapi/installimage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtapi/installimage/labels{/name}","releases_url":"https://api.github.com/repos/virtapi/installimage/releases{/id}","deployments_url":"https://api.github.com/repos/virtapi/installimage/deployments","created_at":"2015-08-05T20:31:31Z","updated_at":"2016-02-11T16:15:59Z","pushed_at":"2016-03-02T13:15:34Z","git_url":"git://github.com/virtapi/installimage.git","ssh_url":"git@github.com:virtapi/installimage.git","clone_url":"https://github.com/virtapi/installimage.git","svn_url":"https://github.com/virtapi/installimage","homepage":null,"size":530,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":42,"forks":3,"open_issues":42,"watchers":2,"default_branch":"master"}},"base":{"label":"virtapi:master","ref":"master","sha":"c35d37d76ae9db5baf4ba10a7e6893262052176b","user":{"login":"virtapi","id":12610395,"avatar_url":"https://avatars.githubusercontent.com/u/12610395?v=3","gravatar_id":"","url":"https://api.github.com/users/virtapi","html_url":"https://github.com/virtapi","followers_url":"https://api.github.com/users/virtapi/followers","following_url":"https://api.github.com/users/virtapi/following{/other_user}","gists_url":"https://api.github.com/users/virtapi/gists{/gist_id}","starred_url":"https://api.github.com/users/virtapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtapi/subscriptions","organizations_url":"https://api.github.com/users/virtapi/orgs","repos_url":"https://api.github.com/users/virtapi/repos","events_url":"https://api.github.com/users/virtapi/events{/privacy}","received_events_url":"https://api.github.com/users/virtapi/received_events","type":"Organization","site_admin":false},"repo":{"id":40267456,"name":"installimage","full_name":"virtapi/installimage","owner":{"login":"virtapi","id":12610395,"avatar_url":"https://avatars.githubusercontent.com/u/12610395?v=3","gravatar_id":"","url":"https://api.github.com/users/virtapi","html_url":"https://github.com/virtapi","followers_url":"https://api.github.com/users/virtapi/followers","following_url":"https://api.github.com/users/virtapi/following{/other_user}","gists_url":"https://api.github.com/users/virtapi/gists{/gist_id}","starred_url":"https://api.github.com/users/virtapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtapi/subscriptions","organizations_url":"https://api.github.com/users/virtapi/orgs","repos_url":"https://api.github.com/users/virtapi/repos","events_url":"https://api.github.com/users/virtapi/events{/privacy}","received_events_url":"https://api.github.com/users/virtapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/virtapi/installimage","description":"bash scripts for deploying every linux system","fork":false,"url":"https://api.github.com/repos/virtapi/installimage","forks_url":"https://api.github.com/repos/virtapi/installimage/forks","keys_url":"https://api.github.com/repos/virtapi/installimage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtapi/installimage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtapi/installimage/teams","hooks_url":"https://api.github.com/repos/virtapi/installimage/hooks","issue_events_url":"https://api.github.com/repos/virtapi/installimage/issues/events{/number}","events_url":"https://api.github.com/repos/virtapi/installimage/events","assignees_url":"https://api.github.com/repos/virtapi/installimage/assignees{/user}","branches_url":"https://api.github.com/repos/virtapi/installimage/branches{/branch}","tags_url":"https://api.github.com/repos/virtapi/installimage/tags","blobs_url":"https://api.github.com/repos/virtapi/installimage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtapi/installimage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtapi/installimage/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtapi/installimage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtapi/installimage/statuses/{sha}","languages_url":"https://api.github.com/repos/virtapi/installimage/languages","stargazers_url":"https://api.github.com/repos/virtapi/installimage/stargazers","contributors_url":"https://api.github.com/repos/virtapi/installimage/contributors","subscribers_url":"https://api.github.com/repos/virtapi/installimage/subscribers","subscription_url":"https://api.github.com/repos/virtapi/installimage/subscription","commits_url":"https://api.github.com/repos/virtapi/installimage/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtapi/installimage/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtapi/installimage/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtapi/installimage/issues/comments{/number}","contents_url":"https://api.github.com/repos/virtapi/installimage/contents/{+path}","compare_url":"https://api.github.com/repos/virtapi/installimage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtapi/installimage/merges","archive_url":"https://api.github.com/repos/virtapi/installimage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtapi/installimage/downloads","issues_url":"https://api.github.com/repos/virtapi/installimage/issues{/number}","pulls_url":"https://api.github.com/repos/virtapi/installimage/pulls{/number}","milestones_url":"https://api.github.com/repos/virtapi/installimage/milestones{/number}","notifications_url":"https://api.github.com/repos/virtapi/installimage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtapi/installimage/labels{/name}","releases_url":"https://api.github.com/repos/virtapi/installimage/releases{/id}","deployments_url":"https://api.github.com/repos/virtapi/installimage/deployments","created_at":"2015-08-05T20:31:31Z","updated_at":"2016-02-11T16:15:59Z","pushed_at":"2016-03-02T13:15:34Z","git_url":"git://github.com/virtapi/installimage.git","ssh_url":"git@github.com:virtapi/installimage.git","clone_url":"https://github.com/virtapi/installimage.git","svn_url":"https://github.com/virtapi/installimage","homepage":null,"size":530,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":42,"forks":3,"open_issues":42,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/71"},"html":{"href":"https://github.com/virtapi/installimage/pull/71"},"issue":{"href":"https://api.github.com/repos/virtapi/installimage/issues/71"},"comments":{"href":"https://api.github.com/repos/virtapi/installimage/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/virtapi/installimage/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/virtapi/installimage/statuses/e5ae291d3bc4747cf5ecb8342d8b0f6e4a66662c"}}}}