Browse Source

setup.sh: detect homeroot with cygpath

pull/1/head
10sr 10 years ago
parent
commit
05e68aee02
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      setup.sh

+ 2
- 2
setup.sh View File

@@ -269,8 +269,8 @@ setup_windirs(){


if $iscygwin if $iscygwin
then then
# this may invalid on systems other than windows7
__winhome="/cygdrive/c/Users/`whoami`"
#__winhome="/cygdrive/c/Users/`whoami`"
__winhome=`cygpath -H`/`whoami`
fi fi


if test -n "$__winhome" -a -d "$__winhome" -a '!' -e "$HOME/.winhome" if test -n "$__winhome" -a -d "$__winhome" -a '!' -e "$HOME/.winhome"


Loading…
Cancel
Save