fix OSx build better
authorJoey Hess <joeyh@joeyh.name>
Thu, 9 Mar 2023 15:43:55 +0000 (11:43 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 9 Mar 2023 15:43:55 +0000 (11:43 -0400)
Utility/DirWatcher/FSEvents.hs

index 1559b7eabc18747f2f19f83d143b801610cbe127..107b73e8fbe19558dc373c3206951f483cb7579c 100644 (file)
@@ -90,7 +90,7 @@ watchDir dir ignored scanevents hooks = do
                  where
                        runhook h s = maybe noop (\a -> a f s) (h hooks)
                
-       getstatus = catchMaybeIO . R.getSymbolicLinkStatus . fromRawFilePath
+       getstatus = catchMaybeIO . R.getSymbolicLinkStatus . toRawFilePath
 
 {- Check each component of the path to see if it's ignored. -}
 ignoredPath :: (FilePath -> Bool) -> FilePath -> Bool