diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-28 12:44:04 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-28 12:44:04 -0400 |
commit | 78e6be0db4043f223a2ef103a74f40d2b246fd43 (patch) | |
tree | 932a6f526dcc088851f1298cfd7461394727e561 /Annex/Content.hs | |
parent | 8f841126f489003d2bd23737a211d493cf11a4a0 (diff) |
fix windows build
Diffstat (limited to 'Annex/Content.hs')
-rw-r--r-- | Annex/Content.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs index 6c03e334c..9d3732d0b 100644 --- a/Annex/Content.hs +++ b/Annex/Content.hs @@ -586,8 +586,8 @@ linkOrCopy key src dest = catchBoolIO $ ) where hardlink = do -#ifndef mingw32_HOST_OS s <- getstat +#ifndef mingw32_HOST_OS if linkCount s > 1 then copy s else liftIO (createLink src dest >> return True) |