mirror of https://github.com/sbt/sbt.git
Fix cache getting confused if COURSIER_CACHE set to a relative path
This commit is contained in:
parent
a251e71190
commit
da819fc69f
|
|
@ -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"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue