Browse Source

remove trailing slash from HAXE_STD_PATH

Simon Krajewski 1 year ago
parent
commit
aefa949324
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/compiler/compiler.ml

+ 1 - 0
src/compiler/compiler.ml

@@ -190,6 +190,7 @@ module Setup = struct
 	let get_std_class_paths () =
 		try
 			let p = Sys.getenv "HAXE_STD_PATH" in
+			let p = Path.remove_trailing_slash p in
 			let rec loop = function
 				| drive :: path :: l ->
 					if String.length drive = 1 && ((drive.[0] >= 'a' && drive.[0] <= 'z') || (drive.[0] >= 'A' && drive.[0] <= 'Z')) then