summaryrefslogtreecommitdiff
path: root/Build/Configure.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-10-27 11:09:55 -0400
committerJoey Hess <joey@kitenet.net>2014-10-27 11:09:55 -0400
commitc3b9e3d64ae4082b627ffa50996ee403b09759d5 (patch)
tree65e650b697c2edd59b91e0b138155548c80173e7 /Build/Configure.hs
parenta75b13f2565e7908eb3e86477c447ce7ca575820 (diff)
downloadgit-repair-c3b9e3d64ae4082b627ffa50996ee403b09759d5.tar.gz
Merge Build/ from git-annex, including removing a use of deprecated System.Cmd.
Diffstat (limited to 'Build/Configure.hs')
-rw-r--r--Build/Configure.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/Configure.hs b/Build/Configure.hs
index 4912122..e488ee1 100644
--- a/Build/Configure.hs
+++ b/Build/Configure.hs
@@ -12,7 +12,7 @@ import Git.Version
tests :: [TestCase]
tests =
- [ TestCase "version" getVersion
+ [ TestCase "version" (Config "packageversion" . StringConfig <$> getVersion)
, TestCase "git" $ requireCmd "git" "git --version >/dev/null"
, TestCase "git version" getGitVersion
]