Skip to content

Commit

Permalink
[script] fix file permission issue
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Sep 4, 2024
1 parent ab27d9a commit 17377fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/emu/src/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ object Main:
.filter(path => os.isDir(path))
.filter(path => path.segments.toSeq.last.endsWith(".daidir"))
.last
os.copy.into(daidirPath, outputPath, followLinks = true)
val daidirName = daidirPath.segments.toSeq.last
os.copy.into(outputPath / daidirName, daidirPath)

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

0 comments on commit 17377fc

Please sign in to comment.