Skip to content

Commit a56fa4d

Browse files
committed
[script] fix file permission issue
Signed-off-by: Avimitin <[email protected]>
1 parent ab27d9a commit a56fa4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script/emu/src/Main.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ object Main:
250250
.filter(path => os.isDir(path))
251251
.filter(path => path.segments.toSeq.last.endsWith(".daidir"))
252252
.last
253-
os.copy.into(daidirPath, outputPath, followLinks = true)
253+
val daidirName = daidirPath.segments.toSeq.last
254+
os.symlink(outputPath / daidirName, daidirPath)
254255

255256
Logger.info(s"Output saved under ${outputPath}")
256257
end run

0 commit comments

Comments
 (0)