Przeglądaj źródła

[lua] resolve symlinks for FileSystem.fullPath

Justin Donaldson 6 lat temu
rodzic
commit
020685773f
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {