Use real paths for zinc base path

The AppConfiguration.baseDirectory is dealiased during project loading.
Not dealiasing the symlink here could cause a discrepancy between the
`baseDirectory` key and the value of the base key in the root paths map.
This commit is contained in:
Ethan Atkins 2020-06-22 12:56:14 -07:00
parent e323f1f713
commit 63cd8f53c6
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ object Defaults extends BuildCommon {
allowMachinePath :== true,
rootPaths := {
val app = appConfiguration.value
val base = app.baseDirectory
val base = app.baseDirectory.getCanonicalFile
val boot = app.provider.scalaProvider.launcher.bootDirectory
val ih = app.provider.scalaProvider.launcher.ivyHome
val coursierCache = csrCacheDirectory.value