{"action":"opened","number":3973,"pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/3973","id":47529535,"html_url":"https://github.com/arduino/Arduino/pull/3973","diff_url":"https://github.com/arduino/Arduino/pull/3973.diff","patch_url":"https://github.com/arduino/Arduino/pull/3973.patch","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/3973","number":3973,"state":"open","locked":false,"title":"Allow spaces in IDE install path on Linux","user":{"login":"matthijskooijman","id":194491,"avatar_url":"https://avatars.githubusercontent.com/u/194491?v=3","gravatar_id":"","url":"https://api.github.com/users/matthijskooijman","html_url":"https://github.com/matthijskooijman","followers_url":"https://api.github.com/users/matthijskooijman/followers","following_url":"https://api.github.com/users/matthijskooijman/following{/other_user}","gists_url":"https://api.github.com/users/matthijskooijman/gists{/gist_id}","starred_url":"https://api.github.com/users/matthijskooijman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthijskooijman/subscriptions","organizations_url":"https://api.github.com/users/matthijskooijman/orgs","repos_url":"https://api.github.com/users/matthijskooijman/repos","events_url":"https://api.github.com/users/matthijskooijman/events{/privacy}","received_events_url":"https://api.github.com/users/matthijskooijman/received_events","type":"User","site_admin":false},"body":"The startup bash script lacked quotes in some places, causing it to\r\ninterpret part of the path to the splash image as the main class and\r\nfail to start:\r\n\r\narduino: line 29: [: /home/a/Arduino: binary operator expected\r\nError: Could not find or load main class IDE.lib.splash.png\r\n\r\nFor the -splash option, simply adding quotes was not sufficient. If no\r\nsplash screen was to be used (so when $SPLASH was empty), using\r\n\"$SPLASH\" would result in an empty argument being passed to java, which\r\nwas then interpreted by java as the name of the base class.\r\n\r\nTo allow spaces to occur in the -splash option, but also allow it to be\r\nomitted entirely, options to java are now passed through the\r\n$JAVA_OPTIONS array. By using the special \"${JAVA_OPTIONS[@]}\" syntax,\r\neach element in the array is expanded into a single argument, even when\r\nspaces are present inside (this is identical to what happens with \"$@\").\r\n\r\nThis fixes #3950","created_at":"2015-10-13T13:00:26Z","updated_at":"2015-10-13T13:00:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e63b3ebfbe7b98ce1abd2fc690b0c8d5bb6e528e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arduino/Arduino/pulls/3973/commits","review_comments_url":"https://api.github.com/repos/arduino/Arduino/pulls/3973/comments","review_comment_url":"https://api.github.com/repos/arduino/Arduino/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/3973/comments","statuses_url":"https://api.github.com/repos/arduino/Arduino/statuses/bef7bb5b7693c7ba850700bad283be9f39c0f193","head":{"label":"matthijskooijman:spaces-in-path","ref":"spaces-in-path","sha":"bef7bb5b7693c7ba850700bad283be9f39c0f193","user":{"login":"matthijskooijman","id":194491,"avatar_url":"https://avatars.githubusercontent.com/u/194491?v=3","gravatar_id":"","url":"https://api.github.com/users/matthijskooijman","html_url":"https://github.com/matthijskooijman","followers_url":"https://api.github.com/users/matthijskooijman/followers","following_url":"https://api.github.com/users/matthijskooijman/following{/other_user}","gists_url":"https://api.github.com/users/matthijskooijman/gists{/gist_id}","starred_url":"https://api.github.com/users/matthijskooijman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthijskooijman/subscriptions","organizations_url":"https://api.github.com/users/matthijskooijman/orgs","repos_url":"https://api.github.com/users/matthijskooijman/repos","events_url":"https://api.github.com/users/matthijskooijman/events{/privacy}","received_events_url":"https://api.github.com/users/matthijskooijman/received_events","type":"User","site_admin":false},"repo":{"id":9026713,"name":"Arduino","full_name":"matthijskooijman/Arduino","owner":{"login":"matthijskooijman","id":194491,"avatar_url":"https://avatars.githubusercontent.com/u/194491?v=3","gravatar_id":"","url":"https://api.github.com/users/matthijskooijman","html_url":"https://github.com/matthijskooijman","followers_url":"https://api.github.com/users/matthijskooijman/followers","following_url":"https://api.github.com/users/matthijskooijman/following{/other_user}","gists_url":"https://api.github.com/users/matthijskooijman/gists{/gist_id}","starred_url":"https://api.github.com/users/matthijskooijman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthijskooijman/subscriptions","organizations_url":"https://api.github.com/users/matthijskooijman/orgs","repos_url":"https://api.github.com/users/matthijskooijman/repos","events_url":"https://api.github.com/users/matthijskooijman/events{/privacy}","received_events_url":"https://api.github.com/users/matthijskooijman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matthijskooijman/Arduino","description":"open-source electronics prototyping platform","fork":true,"url":"https://api.github.com/repos/matthijskooijman/Arduino","forks_url":"https://api.github.com/repos/matthijskooijman/Arduino/forks","keys_url":"https://api.github.com/repos/matthijskooijman/Arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthijskooijman/Arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthijskooijman/Arduino/teams","hooks_url":"https://api.github.com/repos/matthijskooijman/Arduino/hooks","issue_events_url":"https://api.github.com/repos/matthijskooijman/Arduino/issues/events{/number}","events_url":"https://api.github.com/repos/matthijskooijman/Arduino/events","assignees_url":"https://api.github.com/repos/matthijskooijman/Arduino/assignees{/user}","branches_url":"https://api.github.com/repos/matthijskooijman/Arduino/branches{/branch}","tags_url":"https://api.github.com/repos/matthijskooijman/Arduino/tags","blobs_url":"https://api.github.com/repos/matthijskooijman/Arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthijskooijman/Arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthijskooijman/Arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthijskooijman/Arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthijskooijman/Arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/matthijskooijman/Arduino/languages","stargazers_url":"https://api.github.com/repos/matthijskooijman/Arduino/stargazers","contributors_url":"https://api.github.com/repos/matthijskooijman/Arduino/contributors","subscribers_url":"https://api.github.com/repos/matthijskooijman/Arduino/subscribers","subscription_url":"https://api.github.com/repos/matthijskooijman/Arduino/subscription","commits_url":"https://api.github.com/repos/matthijskooijman/Arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthijskooijman/Arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthijskooijman/Arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthijskooijman/Arduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthijskooijman/Arduino/contents/{+path}","compare_url":"https://api.github.com/repos/matthijskooijman/Arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthijskooijman/Arduino/merges","archive_url":"https://api.github.com/repos/matthijskooijman/Arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthijskooijman/Arduino/downloads","issues_url":"https://api.github.com/repos/matthijskooijman/Arduino/issues{/number}","pulls_url":"https://api.github.com/repos/matthijskooijman/Arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/matthijskooijman/Arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/matthijskooijman/Arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthijskooijman/Arduino/labels{/name}","releases_url":"https://api.github.com/repos/matthijskooijman/Arduino/releases{/id}","created_at":"2013-03-26T09:15:47Z","updated_at":"2015-01-26T21:45:18Z","pushed_at":"2015-10-13T12:40:17Z","git_url":"git://github.com/matthijskooijman/Arduino.git","ssh_url":"git@github.com:matthijskooijman/Arduino.git","clone_url":"https://github.com/matthijskooijman/Arduino.git","svn_url":"https://github.com/matthijskooijman/Arduino","homepage":"http://www.arduino.cc/","size":1440878,"stargazers_count":2,"watchers_count":2,"language":"C","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":2,"default_branch":"master"}},"base":{"label":"arduino:master","ref":"master","sha":"c1ce649554dd84b75c8c6c0aa419d78d09415dac","user":{"login":"arduino","id":379109,"avatar_url":"https://avatars.githubusercontent.com/u/379109?v=3","gravatar_id":"","url":"https://api.github.com/users/arduino","html_url":"https://github.com/arduino","followers_url":"https://api.github.com/users/arduino/followers","following_url":"https://api.github.com/users/arduino/following{/other_user}","gists_url":"https://api.github.com/users/arduino/gists{/gist_id}","starred_url":"https://api.github.com/users/arduino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduino/subscriptions","organizations_url":"https://api.github.com/users/arduino/orgs","repos_url":"https://api.github.com/users/arduino/repos","events_url":"https://api.github.com/users/arduino/events{/privacy}","received_events_url":"https://api.github.com/users/arduino/received_events","type":"Organization","site_admin":false},"repo":{"id":919161,"name":"Arduino","full_name":"arduino/Arduino","owner":{"login":"arduino","id":379109,"avatar_url":"https://avatars.githubusercontent.com/u/379109?v=3","gravatar_id":"","url":"https://api.github.com/users/arduino","html_url":"https://github.com/arduino","followers_url":"https://api.github.com/users/arduino/followers","following_url":"https://api.github.com/users/arduino/following{/other_user}","gists_url":"https://api.github.com/users/arduino/gists{/gist_id}","starred_url":"https://api.github.com/users/arduino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduino/subscriptions","organizations_url":"https://api.github.com/users/arduino/orgs","repos_url":"https://api.github.com/users/arduino/repos","events_url":"https://api.github.com/users/arduino/events{/privacy}","received_events_url":"https://api.github.com/users/arduino/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arduino/Arduino","description":"open-source electronics prototyping platform","fork":false,"url":"https://api.github.com/repos/arduino/Arduino","forks_url":"https://api.github.com/repos/arduino/Arduino/forks","keys_url":"https://api.github.com/repos/arduino/Arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arduino/Arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arduino/Arduino/teams","hooks_url":"https://api.github.com/repos/arduino/Arduino/hooks","issue_events_url":"https://api.github.com/repos/arduino/Arduino/issues/events{/number}","events_url":"https://api.github.com/repos/arduino/Arduino/events","assignees_url":"https://api.github.com/repos/arduino/Arduino/assignees{/user}","branches_url":"https://api.github.com/repos/arduino/Arduino/branches{/branch}","tags_url":"https://api.github.com/repos/arduino/Arduino/tags","blobs_url":"https://api.github.com/repos/arduino/Arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arduino/Arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arduino/Arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/arduino/Arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arduino/Arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/arduino/Arduino/languages","stargazers_url":"https://api.github.com/repos/arduino/Arduino/stargazers","contributors_url":"https://api.github.com/repos/arduino/Arduino/contributors","subscribers_url":"https://api.github.com/repos/arduino/Arduino/subscribers","subscription_url":"https://api.github.com/repos/arduino/Arduino/subscription","commits_url":"https://api.github.com/repos/arduino/Arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/arduino/Arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/arduino/Arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/arduino/Arduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/arduino/Arduino/contents/{+path}","compare_url":"https://api.github.com/repos/arduino/Arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arduino/Arduino/merges","archive_url":"https://api.github.com/repos/arduino/Arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arduino/Arduino/downloads","issues_url":"https://api.github.com/repos/arduino/Arduino/issues{/number}","pulls_url":"https://api.github.com/repos/arduino/Arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/arduino/Arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/arduino/Arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arduino/Arduino/labels{/name}","releases_url":"https://api.github.com/repos/arduino/Arduino/releases{/id}","created_at":"2010-09-17T19:10:36Z","updated_at":"2015-10-13T12:51:34Z","pushed_at":"2015-10-13T13:00:27Z","git_url":"git://github.com/arduino/Arduino.git","ssh_url":"git@github.com:arduino/Arduino.git","clone_url":"https://github.com/arduino/Arduino.git","svn_url":"https://github.com/arduino/Arduino","homepage":"http://www.arduino.cc/","size":2941083,"stargazers_count":4618,"watchers_count":4618,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3730,"mirror_url":null,"open_issues_count":658,"forks":3730,"open_issues":658,"watchers":4618,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/3973"},"html":{"href":"https://github.com/arduino/Arduino/pull/3973"},"issue":{"href":"https://api.github.com/repos/arduino/Arduino/issues/3973"},"comments":{"href":"https://api.github.com/repos/arduino/Arduino/issues/3973/comments"},"review_comments":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/3973/comments"},"review_comment":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/3973/commits"},"statuses":{"href":"https://api.github.com/repos/arduino/Arduino/statuses/bef7bb5b7693c7ba850700bad283be9f39c0f193"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":11,"changed_files":1}}