diff options
-rw-r--r-- | stage2/Lib.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala index 8063e2b..99f6a55 100644 --- a/stage2/Lib.scala +++ b/stage2/Lib.scala @@ -251,7 +251,7 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{ file <- listFilesRecursive(base) if file.isFile } yield { val name = if(base.isDirectory){ - file.toString stripPrefix base.toString + file.toString stripPrefix (base.toString ++ File.separator) } else file.toString val entry = new JarEntry( name ) entry.setTime(file.lastModified) |