summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorStefan Rakel <ibutra@users.noreply.github.com>2017-10-25 14:20:25 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-10-25 14:20:25 +0200
commit49c6dbf4ab3e60a0e850ac876e54c0c6bc07de89 (patch)
tree1b020b5edc7726d8d638ab3c28b78f8baeb0cf2c /koch.nim
parent2ca7b703fbc61b2e5399bdc1eb577a8948ae1cb9 (diff)
downloadNim-49c6dbf4ab3e60a0e850ac876e54c0c6bc07de89.tar.gz
Use findNim() in koch temp() (#6592)
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim
index 6b267ce46..b79e202b2 100644
--- a/koch.nim
+++ b/koch.nim
@@ -472,7 +472,8 @@ proc temp(args: string) =
   # 125 is the magic number to tell git bisect to skip the current
   # commit.
   let (bootArgs, programArgs) = splitArgs(args)
-  exec("nim c " & bootArgs & " compiler" / "nim", 125)
+  let nimexec = findNim()
+  exec(nimexec & " c " & bootArgs & " compiler" / "nim", 125)
   copyExe(output, finalDest)
   if programArgs.len > 0: exec(finalDest & " " & programArgs)
 
='n133' href='#n133'>133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242