{"action":"created","issue":{"url":"https://api.github.com/repos/jrburke/requirejs/issues/1423","labels_url":"https://api.github.com/repos/jrburke/requirejs/issues/1423/labels{/name}","comments_url":"https://api.github.com/repos/jrburke/requirejs/issues/1423/comments","events_url":"https://api.github.com/repos/jrburke/requirejs/issues/1423/events","html_url":"https://github.com/jrburke/requirejs/issues/1423","id":106452830,"number":1423,"title":"relative paths in the build.js should be relative to the process/shell cwd not the build.js file itself.","user":{"login":"sterpe","id":678398,"avatar_url":"https://avatars.githubusercontent.com/u/678398?v=3","gravatar_id":"","url":"https://api.github.com/users/sterpe","html_url":"https://github.com/sterpe","followers_url":"https://api.github.com/users/sterpe/followers","following_url":"https://api.github.com/users/sterpe/following{/other_user}","gists_url":"https://api.github.com/users/sterpe/gists{/gist_id}","starred_url":"https://api.github.com/users/sterpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sterpe/subscriptions","organizations_url":"https://api.github.com/users/sterpe/orgs","repos_url":"https://api.github.com/users/sterpe/repos","events_url":"https://api.github.com/users/sterpe/events{/privacy}","received_events_url":"https://api.github.com/users/sterpe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-15T00:22:00Z","updated_at":"2015-09-15T08:22:14Z","closed_at":null,"body":"```\r\nIn general, if it is a path, it is relative to the build.js \r\nfile used to hold the build options, or if just using\r\n command line arguments, relative to the current \r\nworking directory.\r\n```\r\n\r\nThis is so strange and counterintuitive, and not at all UNIXy. "},"comment":{"url":"https://api.github.com/repos/jrburke/requirejs/issues/comments/140318102","html_url":"https://github.com/jrburke/requirejs/issues/1423#issuecomment-140318102","issue_url":"https://api.github.com/repos/jrburke/requirejs/issues/1423","id":140318102,"user":{"login":"sterpe","id":678398,"avatar_url":"https://avatars.githubusercontent.com/u/678398?v=3","gravatar_id":"","url":"https://api.github.com/users/sterpe","html_url":"https://github.com/sterpe","followers_url":"https://api.github.com/users/sterpe/followers","following_url":"https://api.github.com/users/sterpe/following{/other_user}","gists_url":"https://api.github.com/users/sterpe/gists{/gist_id}","starred_url":"https://api.github.com/users/sterpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sterpe/subscriptions","organizations_url":"https://api.github.com/users/sterpe/orgs","repos_url":"https://api.github.com/users/sterpe/repos","events_url":"https://api.github.com/users/sterpe/events{/privacy}","received_events_url":"https://api.github.com/users/sterpe/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T08:22:14Z","updated_at":"2015-09-15T08:22:14Z","body":"tldr; by running the process from a specific directory the user is already telling r.js where they would like to root the process, relative paths should be calculated accordingly."}}