diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-08-12 06:58:32 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-08-12 06:58:32 +0200 |
commit | e6ff6a7f5615294aa90b7f3ae6a2a8111a8e1540 (patch) | |
tree | 674cf95ba561f22a63cbfc499d53a331c370b70e /tests | |
parent | 58d6a5bbab4858ec3906074e8badd6b4f47b8e7f (diff) |
Fix tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Spec.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs index b1a0313..296702e 100644 --- a/tests/Spec.hs +++ b/tests/Spec.hs @@ -1,10 +1,11 @@ import Distribution.Helper import System.Environment.Extra (lookupEnv) import System.Posix.Env (setEnv) +import System.Process import Data.Maybe import Data.Functor main :: IO () main = do flip (setEnv "HOME") True =<< fromMaybe "/tmp" <$> lookupEnv "TMPDIR" - writeAutogenFiles "./dist" + writeAutogenFiles readProcess "." "./dist" |