소스 검색

[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 {