From b9c29d188b1878ac8d80b2ee016e88b2653e96b6 Mon Sep 17 00:00:00 2001 From: Eric Loots Date: Wed, 11 Oct 2023 12:47:29 +0200 Subject: [PATCH] Fix cmtc install issue --- .../main/scala/com/lunatech/cmt/client/command/Install.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmtc/src/main/scala/com/lunatech/cmt/client/command/Install.scala b/cmtc/src/main/scala/com/lunatech/cmt/client/command/Install.scala index fb4a1ee3..c0d1e194 100644 --- a/cmtc/src/main/scala/com/lunatech/cmt/client/command/Install.scala +++ b/cmtc/src/main/scala/com/lunatech/cmt/client/command/Install.scala @@ -81,7 +81,7 @@ object Install: val targetFolder = configuration.coursesDirectory.value / project (targetFolder.exists, forceDelete) match { case (false, _) | (true, true) => - sbtio.move(tmpDir / project, targetFolder) + sbtio.copyDirectory(tmpDir / project, targetFolder) if (deleteZipAfterInstall) { sbtio.delete(zipFile.value) }