summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/Configure.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/Configure.hs b/Build/Configure.hs
index 24743bf61..cf6623b22 100644
--- a/Build/Configure.hs
+++ b/Build/Configure.hs
@@ -72,7 +72,7 @@ getVersionString = do
getGitVersion :: Test
getGitVersion = do
(_, s) <- pipeFrom "git" ["--version"]
- let version = last $ words $ head $ lines s
+ let version = unwords $ drop 2 $ words $ head $ lines s
return $ Config "gitversion" (StringConfig version)
getSshConnectionCaching :: Test