Skip to content

Commit

Permalink
oops. sigh.
Browse files Browse the repository at this point in the history
  • Loading branch information
robey committed Oct 20, 2010
1 parent b728ede commit 802041c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/net/lag/configgy/RuntimeEnvironment.scala
Expand Up @@ -60,7 +60,7 @@ class RuntimeEnvironment(cls: Class[_]) {
lazy val jarPath: Option[String] = {
val paths = System.getProperty("java.class.path").split(System.getProperty("path.separator"))
findCandidateJar(paths, jarName, jarVersion).map { path =>
new File(path).getCanonicalPath
new File(path).getParentFile.getCanonicalPath
}
}

Expand Down

0 comments on commit 802041c

Please sign in to comment.