소스 검색

fixed template subdirs

Nicolas Cannasse 6 년 전
부모
커밋
86a6d11716
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      other/haxelib/Run.hx

+ 1 - 1
other/haxelib/Run.hx

@@ -86,7 +86,7 @@ class Build {
 			var dir = srcDir + "/" + path;
 			for( f in sys.FileSystem.readDirectory(dir) ) {
 				var srcPath = dir + "/" + f;
-				var targetPath = targetDir + f.split("__file__").join(name);
+				var targetPath = targetDir + path + "/" + f.split("__file__").join(name);
 				if( sys.FileSystem.isDirectory(srcPath) ) {
 					try sys.FileSystem.createDirectory(targetPath) catch( e : Dynamic ) {};
 					genRec(path+"/"+f);