diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-10-24 13:10:44 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-10-24 13:10:44 +0200 |
commit | eb6225ad8ce0f0d7e7ca834045ed71c2fc457745 (patch) | |
tree | bfb20f5cc0db718b83ed85e6cffe9705a133ffa2 /koch.nim | |
parent | 16d82c82e37cfdc17b063e32f042e85b5d1122e2 (diff) | |
download | Nim-eb6225ad8ce0f0d7e7ca834045ed71c2fc457745.tar.gz |
fixes #9276 (#9317)
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/koch.nim b/koch.nim index a77f5cc3a..8e84ac5fa 100644 --- a/koch.nim +++ b/koch.nim @@ -407,13 +407,14 @@ proc temp(args: string) = result[1].add " " & quoteShell(args[i]) inc i - var output = "compiler" / "nim".exe - var finalDest = "bin" / "nim_temp".exe + let d = getAppDir() + var output = d / "compiler" / "nim".exe + var finalDest = d / "bin" / "nim_temp".exe # 125 is the magic number to tell git bisect to skip the current # commit. let (bootArgs, programArgs) = splitArgs(args) let nimexec = findNim() - exec(nimexec & " c -d:debug --debugger:native " & bootArgs & " compiler" / "nim", 125) + exec(nimexec & " c -d:debug --debugger:native " & bootArgs & " " & (d / "compiler" / "nim"), 125) copyExe(output, finalDest) if programArgs.len > 0: exec(finalDest & " " & programArgs) |