From 05e68aee02281e876ba6e709dd69b3d06c619e70 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 11 Mar 2014 21:23:42 +0900 Subject: [PATCH] setup.sh: detect homeroot with cygpath --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 1e2b069..b888586 100755 --- a/setup.sh +++ b/setup.sh @@ -269,8 +269,8 @@ setup_windirs(){ if $iscygwin then - # this may invalid on systems other than windows7 - __winhome="/cygdrive/c/Users/`whoami`" + #__winhome="/cygdrive/c/Users/`whoami`" + __winhome=`cygpath -H`/`whoami` fi if test -n "$__winhome" -a -d "$__winhome" -a '!' -e "$HOME/.winhome"