cygwin and msys cannot agree.
if [ -z "$HOME" ]; then
# set a default that might not be appropriate for everyone, but should
# still work.
- export HOME=/c/home
+ export HOME=c:/home
fi
if [ ! -d "$HOME" ]; then mkdir $HOME; fi
fi
if [ "$OS" == "Windows_NT" ]; then
# give them a default place if they don't have one already.
if [ -z "$HOME" ]; then
- export HOME=/c/home
+ export HOME=c:/home
fi
# patch home to undo cygwin style of drive letter.
# export HOME=$(echo $HOME | sed -e 's/\/cygdrive\//\//g')