Fixed setting PROFILE_HOME when sourcing from relative path.
authorIain Patterson <me@iain.cx>
Wed, 4 Feb 2015 10:11:11 +0000 (10:11 +0000)
committerIain Patterson <me@iain.cx>
Wed, 4 Feb 2015 10:11:11 +0000 (10:11 +0000)
commit21c43d814bbd270a26d5fda54bca14e5a4848819
tree0ac663ac4f8ccf13fd304ecc275e5816d9ceaa7e
parenta341d6bfb585c2b07660b793b37a13ce781e79d3
Fixed setting PROFILE_HOME when sourcing from relative path.

If .bash_profile was sourced from a relative path, eg ". profile/.rc",
PROFILE_HOME would not be canonicalised, resulting in many things
breaking when not run from the same directory the profile was initially
sourced from.
.bash_profile