Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Path changed in erl.cmd. Compiler now uses PathSeparator for the curr…

…ent platform.
  • Loading branch information...
commit 2b02b9d5120df49d4c12228bee8ee1044d5f53fd 1 parent 64e400d
Ulrik Skyt authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  erl.cmd
  2. +1 −1  src/main/java/erjang/beam/Compiler.java
View
2  erl.cmd
@@ -1,6 +1,6 @@
@echo off
-IF "x%OTPROOT%" == "x" SET OTPROOT="C:\Program Files\erl7.5.7"
+IF "x%OTPROOT%" == "x" SET OTPROOT="C:/Program Files/erl5.7.5"
java -ea -cp erjang-0.1.jar ^
-Derj.threads=1 ^
View
2  src/main/java/erjang/beam/Compiler.java
@@ -363,7 +363,7 @@ private static File findBeamFile(String module) {
}
private static void add(ArrayList<File> out, String path) {
- for (String s : path.split(":")) {
+ for (String s : path.split(File.pathSeparator)) {
File elem = new File(s);
if (elem.exists() && elem.isDirectory()) {
out.add(elem);
Please sign in to comment.
Something went wrong with that request. Please try again.