{"action":"created","issue":{"url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/540","labels_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/540/comments","events_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/540/events","html_url":"https://github.com/marekr/kicad-issue-test/issues/540","id":120703907,"number":540,"title":"Install fails on OSX with DESTDIR set","user":{"login":"marekr","id":1838013,"avatar_url":"https://avatars.githubusercontent.com/u/1838013?v=3","gravatar_id":"","url":"https://api.github.com/users/marekr","html_url":"https://github.com/marekr","followers_url":"https://api.github.com/users/marekr/followers","following_url":"https://api.github.com/users/marekr/following{/other_user}","gists_url":"https://api.github.com/users/marekr/gists{/gist_id}","starred_url":"https://api.github.com/users/marekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekr/subscriptions","organizations_url":"https://api.github.com/users/marekr/orgs","repos_url":"https://api.github.com/users/marekr/repos","events_url":"https://api.github.com/users/marekr/events{/privacy}","received_events_url":"https://api.github.com/users/marekr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/build","name":"build","color":"ededed"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/New","name":"New","color":"ddffdd"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/osx","name":"osx","color":"ededed"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/Undecided","name":"Undecided","color":"ffdddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-07T05:52:47Z","updated_at":"2015-12-07T11:34:12Z","closed_at":null,"body":"When installing (\"make install\") on Mac OS X with DESTDIR pointing to a different directory than the one in CMAKE_INSTALL_PREFIX, install fails because some functions, like \"fixup_bundle\" and \"move_to_main_bundle\" expect things to be in KICAD_BIN, but that variable doesn't account for DESTDIR."},"comment":{"url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/comments/162496728","html_url":"https://github.com/marekr/kicad-issue-test/issues/540#issuecomment-162496728","issue_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/540","id":162496728,"user":{"login":"marekr","id":1838013,"avatar_url":"https://avatars.githubusercontent.com/u/1838013?v=3","gravatar_id":"","url":"https://api.github.com/users/marekr","html_url":"https://github.com/marekr","followers_url":"https://api.github.com/users/marekr/followers","following_url":"https://api.github.com/users/marekr/following{/other_user}","gists_url":"https://api.github.com/users/marekr/gists{/gist_id}","starred_url":"https://api.github.com/users/marekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekr/subscriptions","organizations_url":"https://api.github.com/users/marekr/orgs","repos_url":"https://api.github.com/users/marekr/repos","events_url":"https://api.github.com/users/marekr/events{/privacy}","received_events_url":"https://api.github.com/users/marekr/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T11:34:12Z","updated_at":"2015-12-07T11:34:12Z","body":"(by stegmaier)\nYes, I am pretty sure that this is currently not handled when packaging the app bundle.\n\nWhy would you want to do that?\nWhat is the use-case of configuring CMAKE_INSTALL_PREFIX and then install it to a different location?"}}