Make run_konan compatible with msys (#1683)

This commit is contained in:
Nikolay Igotti
2018-06-14 11:48:56 +03:00
committed by GitHub
parent 48bd38542a
commit ce840e1e28
+3 -3
View File
@@ -72,9 +72,9 @@ java_opts=(-ea \
${JAVA_OPTS})
# 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
unset $VAR
done
while IFS=$'\r' read -r line || [[ -n "$line" ]]; do
unset $line
done < "${KONAN_HOME}/tools/env_blacklist"
KONAN_JAR="${KONAN_HOME}/konan/lib/backend.native.jar"
KOTLIN_JAR="${KONAN_HOME}/konan/lib/kotlin-compiler.jar"