fix build on windows
authorJoey Hess <joeyh@joeyh.name>
Wed, 25 Nov 2020 10:24:49 +0000 (06:24 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 25 Nov 2020 10:24:49 +0000 (06:24 -0400)
Annex/Content/Presence.hs

index 4b33bcefb2f65a0aa61e00809e16624f59e1f28c..05ff5715e143dfef82f96dcd98a5f1c0c8ecc642 100644 (file)
@@ -119,7 +119,7 @@ inAnnexSafe key = inAnnex' (fromMaybe True) (Just False) go key
                                        Nothing -> return is_locked
                                        Just lockhandle -> do
                                                dropLock lockhandle
-                                               void $ tryIO $ removeWhenExistsWith removeLink (fromRawFilePath lockfile)
+                                               void $ tryIO $ removeWhenExistsWith R.removeLink lockfile
                                                return is_unlocked
                        , return is_missing
                        )