fix build
authorJoey Hess <joeyh@joeyh.name>
Mon, 25 Jul 2022 18:10:30 +0000 (14:10 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 25 Jul 2022 18:10:30 +0000 (14:10 -0400)
Build/DistributionUpdate.hs

index 0243e9bcb19abbd4ca237d30443629e7323eabc7..d2327d0bd3e8182c3bb5152a4bfc06de1f77a768 100644 (file)
@@ -193,7 +193,7 @@ signFile f = do
                , Param "--detach-sign"
                , File f
                ]
-       liftIO $ rename (f ++ ".asc") (f ++ ".sig")
+       liftIO $ R.rename (toRawFilePath (f ++ ".asc")) (toRawFilePath (f ++ ".sig"))
        void $ inRepo $ runBool [Param "add", File (f ++ ".sig")]
 
 -- clamscan should handle unpacking archives, but did not in my