mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 14:17:13 +02:00
Fix cache getting confused if COURSIER_CACHE set to a relative path
This commit is contained in:
+1
-1
@@ -479,7 +479,7 @@ object Cache {
|
|||||||
"COURSIER_CACHE",
|
"COURSIER_CACHE",
|
||||||
sys.props("user.home") + "/.coursier/cache/v1"
|
sys.props("user.home") + "/.coursier/cache/v1"
|
||||||
)
|
)
|
||||||
)
|
).getAbsoluteFile
|
||||||
|
|
||||||
lazy val default = Seq(
|
lazy val default = Seq(
|
||||||
"http://" -> new File(defaultBase, "http"),
|
"http://" -> new File(defaultBase, "http"),
|
||||||
|
|||||||
Reference in New Issue
Block a user