more tolerant cygpath invocation, allow empty CLASSPATH;
authorwenzelm
Thu Mar 01 14:42:05 2012 +0100 (2012-03-01)
changeset 46741a29006291f2b
parent 46740 852baa599351
child 46742 125e49d04cf6
more tolerant cygpath invocation, allow empty CLASSPATH;
lib/scripts/getsettings
     1.1 --- a/lib/scripts/getsettings	Thu Mar 01 14:12:18 2012 +0100
     1.2 +++ b/lib/scripts/getsettings	Thu Mar 01 14:42:05 2012 +0100
     1.3 @@ -55,8 +55,8 @@
     1.4  
     1.5  #JVM path wrapper
     1.6  if [ "$OSTYPE" = cygwin ]; then
     1.7 -  CLASSPATH="$(cygpath -u -p "$CLASSPATH")"
     1.8 -  function jvmpath() { cygpath -C UTF8 -w -p "$@"; }
     1.9 +  CLASSPATH="$(cygpath -i -u -p "$CLASSPATH")"
    1.10 +  function jvmpath() { cygpath -i -C UTF8 -w -p "$@"; }
    1.11    THIS_CYGWIN="$(jvmpath "/")"
    1.12  else
    1.13    function jvmpath() { echo "$@"; }