{"action":"created","issue":{"url":"https://api.github.com/repos/TACC/Lmod/issues/271","repository_url":"https://api.github.com/repos/TACC/Lmod","labels_url":"https://api.github.com/repos/TACC/Lmod/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/TACC/Lmod/issues/271/comments","events_url":"https://api.github.com/repos/TACC/Lmod/issues/271/events","html_url":"https://github.com/TACC/Lmod/issues/271","id":228042774,"number":271,"title":"MODULESHOME not defined in profile script","user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars1.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-11T16:01:56Z","updated_at":"2017-05-11T18:08:29Z","closed_at":null,"body":"I recently installed Lmod 7.4.9 and symlinked both profile and cshrc to the list of startup scripts according to the instructions [here](http://lmod.readthedocs.io/en/latest/030_installing.html). Things seem to be working (the module function is defined and `module avail` works), but when I log in or run a Bash script I see:\r\n```\r\n/bin/bash: /init/bash: Not a directory\r\n```\r\nI tracked this down to the `profile` script, which contains this line:\r\n```\r\nexport BASH_ENV=$MODULESHOME/init/bash\r\n```\r\nUnfortunately, this script doesn't define `MODULESHOME` so Bash tries to source `/init/bash` instead. Is this a bug? It seems like every other initialization script defines this variable. "},"comment":{"url":"https://api.github.com/repos/TACC/Lmod/issues/comments/300871592","html_url":"https://github.com/TACC/Lmod/issues/271#issuecomment-300871592","issue_url":"https://api.github.com/repos/TACC/Lmod/issues/271","id":300871592,"user":{"login":"rtmclay","id":2041448,"avatar_url":"https://avatars3.githubusercontent.com/u/2041448?v=3","gravatar_id":"","url":"https://api.github.com/users/rtmclay","html_url":"https://github.com/rtmclay","followers_url":"https://api.github.com/users/rtmclay/followers","following_url":"https://api.github.com/users/rtmclay/following{/other_user}","gists_url":"https://api.github.com/users/rtmclay/gists{/gist_id}","starred_url":"https://api.github.com/users/rtmclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtmclay/subscriptions","organizations_url":"https://api.github.com/users/rtmclay/orgs","repos_url":"https://api.github.com/users/rtmclay/repos","events_url":"https://api.github.com/users/rtmclay/events{/privacy}","received_events_url":"https://api.github.com/users/rtmclay/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T18:08:29Z","updated_at":"2017-05-11T18:08:29Z","body":"O.K. to close?\r\n"}}
{"actor":{"display_login":"rtmclay"}}