Skip to content

Commit fa8e537

Browse files
authored
Use cwd when running haxelib path (#1107)
If a local haxelib repo is being used, then moving out of the cwd will break library resolution. This was presumably done in case `haxelib` is not in `PATH`, but in that situation `HAXEPATH` is unlikely to have been set either.
1 parent b1359b4 commit fa8e537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/hxcpp/PathManager.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class PathManager
106106

107107
try
108108
{
109-
output = ProcessManager.runProcess(Sys.getEnv ("HAXEPATH"), "haxelib", [ "path", name ], true, false);
109+
output = ProcessManager.runProcess("", "haxelib", [ "path", name ], true, false);
110110
}
111111
catch (e:Dynamic) {}
112112

0 commit comments

Comments
 (0)