Make run_konan compatible with msys (#1683)
This commit is contained in:
+3
-3
@@ -72,9 +72,9 @@ java_opts=(-ea \
|
|||||||
${JAVA_OPTS})
|
${JAVA_OPTS})
|
||||||
|
|
||||||
# Unset some environment variables which are set by XCode and may potentially affect the tool executed.
|
# Unset some environment variables which are set by XCode and may potentially affect the tool executed.
|
||||||
for VAR in `cat "${KONAN_HOME}/tools/env_blacklist"`; do
|
while IFS=$'\r' read -r line || [[ -n "$line" ]]; do
|
||||||
unset $VAR
|
unset $line
|
||||||
done
|
done < "${KONAN_HOME}/tools/env_blacklist"
|
||||||
|
|
||||||
KONAN_JAR="${KONAN_HOME}/konan/lib/backend.native.jar"
|
KONAN_JAR="${KONAN_HOME}/konan/lib/backend.native.jar"
|
||||||
KOTLIN_JAR="${KONAN_HOME}/konan/lib/kotlin-compiler.jar"
|
KOTLIN_JAR="${KONAN_HOME}/konan/lib/kotlin-compiler.jar"
|
||||||
|
|||||||
Reference in New Issue
Block a user