aboutsummaryrefslogtreecommitdiff
path: root/stage1
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-02-15 04:24:40 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-02-15 04:24:40 -0500
commitf94f18869efabb533d78844ee527cb4293b3bb4e (patch)
tree7c1210bfcae6a64d82eefcc9cb5c74bc8280c307 /stage1
parent6b2df7c8ecc46e39cd227e7a558e1fd55c286240 (diff)
downloadcbt-f94f18869efabb533d78844ee527cb4293b3bb4e.tar.gz
cbt-f94f18869efabb533d78844ee527cb4293b3bb4e.tar.bz2
cbt-f94f18869efabb533d78844ee527cb4293b3bb4e.zip
fix / to not turn paths absolute. Checked this doesn’t affect anything!
Diffstat (limited to 'stage1')
-rw-r--r--stage1/cbt.scala2
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
}