summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-03-21 21:21:20 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-03-21 21:21:20 -0400
commit181d2ccd20a41b1785569acb3efb76deb8cbdf00 (patch)
tree3bcd69b2c31c3e4a1f428b906e58d61492c66c96 /Setup.hs
parentd2283777226d0e386a288ff224c71ce6ed2c1a0b (diff)
Improve detection of inability to check free disk space.
Don't check if configure indicated checks won't work. This should fix a FTBFS on mipsel, where configure correctly detects the checks won't work, while garbage is returned for disk space info at git-annex runtime. It also means that, when built via cabal, disk space checks are not enabled, unfortunatly.
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Setup.hs b/Setup.hs
index 14e6a4ea7..239a6217f 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -8,5 +8,5 @@ import qualified Build.Configure as Configure
main = defaultMainWithHooks simpleUserHooks { preConf = configure }
configure _ _ = do
- Configure.run Configure.tests
+ Configure.run $ Configure.tests True
return (Nothing, [])