Don't rely on any env vars to determine $HOME #368

Merged
merged 1 commit into from Oct 31, 2017

Conversation

Projects
None yet
2 participants
Member

johnsca commented Oct 31, 2017

Some build environments (i.e., Jenkins) don't set $USER, and in the snap, $HOME is set to something other than the user's home directory. So we need to get the correct path in a way that doesn't rely on those env vars.

Fixes #367

Checklist

  • Have you followed Juju Solutions hacking guide?
  • Are all your commits [logically] grouped and squashed appropriately?
  • Does this patch have code coverage?
  • Does your code pass make test?

@johnsca johnsca merged commit fabf076 into master Oct 31, 2017

2 of 3 checks passed

codacy/pr Not so good... This pull request quality could be better.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment