Fix kotlinc on Cygwin

Do not convert KOTLIN_HOME back to unix format, since it's passed to Win
version of Java, which doesn't understand /cygdrive/.. paths

 #KT-3049 Fixed
This commit is contained in:
Alexander Udalov
2012-11-27 13:32:58 +04:00
parent 5e40423de3
commit 8a33e1d6b2
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -36,7 +36,6 @@ KOTLIN_HOME=`cd "$KOTLIN_HOME"/..; pwd`
# Remove spaces from KOTLIN_HOME on windows
if $cygwin; then
KOTLIN_HOME=`cygpath --windows --short-name "$KOTLIN_HOME"`
KOTLIN_HOME=`cygpath --unix "$KOTLIN_HOME"`
fi
[ -n "$JAVA_OPTS" ] || JAVA_OPTS="-Xmx256M -Xms32M"
-1
View File
@@ -36,7 +36,6 @@ KOTLIN_HOME=`cd "$KOTLIN_HOME"/..; pwd`
# Remove spaces from KOTLIN_HOME on windows
if $cygwin; then
KOTLIN_HOME=`cygpath --windows --short-name "$KOTLIN_HOME"`
KOTLIN_HOME=`cygpath --unix "$KOTLIN_HOME"`
fi
[ -n "$JAVA_OPTS" ] || JAVA_OPTS="-Xmx256M -Xms32M"