summaryrefslogtreecommitdiff
path: root/configure.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-11-11 01:52:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-11-11 01:52:58 -0400
commit637b5feb45013f69f3aacbafeb796de666d3faa3 (patch)
tree17e5506c3715be46318d15dd76ec474641faffe2 /configure.hs
parentb327227ba596d4fc5012138d03390c3eb861b808 (diff)
lint
Diffstat (limited to 'configure.hs')
-rw-r--r--configure.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.hs b/configure.hs
index 1d1c02335..cb73af2a9 100644
--- a/configure.hs
+++ b/configure.hs
@@ -69,7 +69,7 @@ checkGitVersion = do
-- for git-check-attr behavior change
need = "1.7.7"
dotted = sum . mult 1 . reverse . extend 10 . map readi . split "."
- extend n l = l ++ take (n - length l) (repeat 0)
+ extend n l = l ++ replicate (n - length l) 0
mult _ [] = []
mult n (x:xs) = (n*x) : (mult (n*100) xs)
readi :: String -> Integer