Skip to content

Commit

Permalink
Merge pull request #1988 from melloc/fsc-temporary-directory-2.10.x
Browse files Browse the repository at this point in the history
SI-4733 - fsc no longer creates a single temp directory for all users.
  • Loading branch information
JamesIry committed Jan 28, 2013
2 parents c66edcc + e0cf651 commit d4de6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/scala/tools/nsc/CompileSocket.scala
Expand Up @@ -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 + "]")
Expand Down

0 comments on commit d4de6f4

Please sign in to comment.