]> dgit.raspbian.org Git - git-annex.git/commitdiff
fix build on windows
authorJoey Hess <joeyh@joeyh.name>
Thu, 1 Jul 2021 16:51:31 +0000 (12:51 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 1 Jul 2021 16:52:33 +0000 (12:52 -0400)
Sponsored-by: Dartmouth College's Datalad project
Build/Configure.hs
doc/bugs/Build_fails_on_Windows_as_of_commit_0a9a9c44e.mdwn

index a22112507a2ce22a4c3e1b925f785210ed5fc645..5fd172d3dba8fdaecd261662a7b07d7f181223d0 100644 (file)
@@ -55,7 +55,7 @@ testCp k option = TestCase cmd $ testCmd k cmdline
 testCpReflinkAuto :: TestCase
 #ifdef mingw32_HOST_OS
 -- Windows does not support reflink so don't even try to use the option.
-testCpReflinkAuto = TestCase k (Config k (BoolConfig False))
+testCpReflinkAuto = TestCase k (return $ Config k (BoolConfig False))
 #else
 testCpReflinkAuto = testCp k "--reflink=auto"
 #endif
index 1821817b169ed89163fe26c6252ea5134b365c4e..8858b884f58d71b55ced218b192ee7d3c724cc53 100644 (file)
@@ -2,3 +2,5 @@ As of commit 0a9a9c44e, trying to build git-annex on Windows fails because due t
 
 [[!meta author=jwodder]]
 [[!tag projects/datalad]]
+
+> [[done]] thankyou! --[[Joey]]