fix OSx build better

This commit is contained in:
Joey Hess 2023-03-09 11:43:55 -04:00
parent 91129f508f
commit 1eb64f0249
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View 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