Permalink
Browse files

Merge pull request #1988 from melloc/fsc-temporary-directory-2.10.x

SI-4733 - fsc no longer creates a single temp directory for all users.
  • Loading branch information...
2 parents c66edcc + e0cf651 commit d4de6f4cc6c3f0f9d7810c6e9a10147a0406e3f5 @JamesIry JamesIry committed Jan 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compiler/scala/tools/nsc/CompileSocket.scala
View
2 src/compiler/scala/tools/nsc/CompileSocket.scala
@@ -72,7 +72,7 @@ class CompileSocket extends CompileOutputCommon {
/** A temporary directory to use */
val tmpDir = {
val udir = Option(Properties.userName) getOrElse "shared"
- val f = (Path(Properties.tmpDir) / "scala-devel" / udir).createDirectory()
+ val f = (Path(Properties.tmpDir) / ("scala-devel" + udir)).createDirectory()
if (f.isDirectory && f.canWrite) {
info("[Temp directory: " + f + "]")

0 comments on commit d4de6f4

Please sign in to comment.