diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-15 04:24:40 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-15 04:24:40 -0500 |
commit | f94f18869efabb533d78844ee527cb4293b3bb4e (patch) | |
tree | 7c1210bfcae6a64d82eefcc9cb5c74bc8280c307 | |
parent | 6b2df7c8ecc46e39cd227e7a558e1fd55c286240 (diff) | |
download | cbt-f94f18869efabb533d78844ee527cb4293b3bb4e.tar.gz cbt-f94f18869efabb533d78844ee527cb4293b3bb4e.tar.bz2 cbt-f94f18869efabb533d78844ee527cb4293b3bb4e.zip |
fix / to not turn paths absolute. Checked this doesn’t affect anything!
-rw-r--r-- | stage1/cbt.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage1/cbt.scala b/stage1/cbt.scala index f88ef16..4caa085 100644 --- a/stage1/cbt.scala +++ b/stage1/cbt.scala @@ -25,7 +25,7 @@ object `package`{ ) new File( file.toString ++ s ) } - def /(s: String): File = new File(file.getAbsolutePath + File.separator + s) + def /(s: String): File = new File( file, s ) def parent = lib.realpath(file ++ "/..") def string = file.toString } |