Commit d5e97410 authored by basvandijk@home.nl's avatar basvandijk@home.nl

A little abstraction

parent f39ff24b
......@@ -416,9 +416,7 @@ runPipeline stop_phase dflags (input_fn, mb_phase) output maybe_loc
let (basename, suffix) = splitFilename input_fn
-- If we were given a -x flag, then use that phase to start from
start_phase
| Just x_phase <- mb_phase = x_phase
| otherwise = startPhase suffix
start_phase = fromMaybe (startPhase suffix) mb_phase
-- We want to catch cases of "you can't get there from here" before
-- we start the pipeline, because otherwise it will just run off the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment