From 3051ea520c3164f5f9483d497adc79be23a15cbb Mon Sep 17 00:00:00 2001 From: max ulidtko Date: Sat, 17 Mar 2018 17:42:04 +0200 Subject: Fix inverted Cabal2.0 version check; fix cabal-preprocessors test --- src/CabalHelper/Runtime/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CabalHelper/Runtime') diff --git a/src/CabalHelper/Runtime/Main.hs b/src/CabalHelper/Runtime/Main.hs index 48d134a..3846d49 100644 --- a/src/CabalHelper/Runtime/Main.hs +++ b/src/CabalHelper/Runtime/Main.hs @@ -500,9 +500,9 @@ componentOptions' (lbi, v, distdir) inplaceFlag flags rf f = do componentsMap lbi v distdir $ \c clbi bi -> let #if CH_MIN_VERSION_Cabal(2,0,0) - outdir = componentBuildDir lbi clbi -#else outdir = componentOutDir lbi c +#else + outdir = componentBuildDir lbi clbi #endif (clbi', adopts) = case flags of _ | not inplaceFlag -> (clbi, mempty) -- cgit v1.2.3