nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f35a2a
)
compile: use shortest path from the compiledir to the outname
author
Jean Privat
<jean@pryen.org>
Thu, 30 Oct 2014 00:55:15 +0000
(20:55 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 30 Oct 2014 00:55:15 +0000
(20:55 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/compiler/abstract_compiler.nit
patch
|
blob
|
history
diff --git
a/src/compiler/abstract_compiler.nit
b/src/compiler/abstract_compiler.nit
index
0562379
..
dbf3794
100644
(file)
--- a/
src/compiler/abstract_compiler.nit
+++ b/
src/compiler/abstract_compiler.nit
@@
-342,8
+342,7
@@
class MakefileToolchain
var outname = outfile(mainmodule)
- var orig_dir = compile_dir.relpath(".")
- var outpath = orig_dir.join_path(outname).simplify_path
+ var outpath = compile_dir.relpath(outname)
var makename = makefile_name(mainmodule)
var makepath = "{compile_dir}/{makename}"
var makefile = new OFStream.open(makepath)