Explorar el Código

[lua] resolve symlinks for FileSystem.fullPath

Justin Donaldson hace 6 años
padre
commit
020685773f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      std/lua/_std/sys/FileSystem.hx

+ 1 - 1
std/lua/_std/sys/FileSystem.hx

@@ -64,7 +64,7 @@ class FileSystem {
 	}
 
 	public inline static function fullPath( relPath : String ) : String {
-		return Path.normalize(absolutePath(relPath));
+		return LFileSystem.realpath(Path.normalize(absolutePath(relPath)));
 	}
 
 	public inline static function absolutePath( relPath : String ) : String {