Skip to content

Commit f89e506

Browse files
committed
fix bundle script
1 parent dd91082 commit f89e506

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

util/bundle.kk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ fun koka-exe-path(exe-opt : string, sysghc : bool) : io (path,string)
246246
val koka-run = if exe == "stack" then "stack exec koka " ++ (if sysghc then "--system-ghc --skip-ghc-check " else "") ++ "--"
247247
elif exe == "cabal" then "cabal new-run koka --"
248248
else exe
249-
val info = run-system-read(koka-run ++ " --version").exn
249+
val info = run-system-read(koka-run ++ " --version").untry
250250
println(koka-run ++ " --version" ++ "\n" ++ info)
251251
val bin = info.lines.filter(fn(s){ s.starts-with("bin ").bool }).head.unjust
252252
val fpath = bin.find(": ").unjust.after.string.trim / "koka"

0 commit comments

Comments
 (0)