Fix windows not processing headers
This commit is contained in:
parent
aad005e0b1
commit
5e3c0999e0
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ template relativePath(path: untyped): untyped =
|
||||||
path.multiReplace([(gOutput, ""), ("\\", "/"), ("//", "/")])
|
path.multiReplace([(gOutput, ""), ("\\", "/"), ("//", "/")])
|
||||||
|
|
||||||
proc c2nim*(fl, outfile: string, c2nimConfig: c2nimConfigObj) =
|
proc c2nim*(fl, outfile: string, c2nimConfig: c2nimConfigObj) =
|
||||||
var file = search(fl)
|
var file = search(fl).sanitizePath
|
||||||
if file.len() == 0:
|
if file.len() == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue