浏览代码

[lua] resolve symlinks for FileSystem.fullPath

Justin Donaldson 6 年之前
父节点
当前提交
020685773f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {