fix build on windows

This commit is contained in:
Joey Hess 2020-11-11 08:51:42 -04:00
parent 326587a7d1
commit 6911d27d42
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -85,5 +85,5 @@ createDirectory :: RawFilePath -> IO ()
createDirectory = D.createDirectory . fromRawFilePath
setFileMode :: RawFilePath -> FileMode -> IO ()
setFileMode = F.setFileMode
setFileMode = F.setFileMode . fromRawFilePath
#endif