/etc/profile: use $HOMEDRIVE\$HOMEPATH as default HOME
commit6b096c9651da0d032a0e611d5edee7256e0da3c1
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 13 May 2009 15:35:54 +0000 (13 17:35 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 14 May 2009 22:14:19 +0000 (15 00:14 +0200)
treefeb2902a49e8af06975968ee53c68bec7cfb32db
parent2d3b56a62bd11518db7bb15b75bd81fd7ae65d6d
/etc/profile: use $HOMEDRIVE\$HOMEPATH as default HOME

Heiko Voigt changed msys-1.0.dll to leave HOMEDRIVE and HOMEPATH alone, so
we should actually use it, too.

While at it, use this default not only if the variable HOME is unset, but
also if it does not point to a directory.

This should finally take care of msysGit issue 108.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
etc/profile