Prefix ghc-mod tmpdirs with "ghc-mod"
This commit is contained in:
parent
6e6c0d99e2
commit
80e826a199
@ -54,8 +54,7 @@ withDirectory_ dir action =
|
|||||||
(\_ -> liftIO (setCurrentDirectory dir) >> action)
|
(\_ -> liftIO (setCurrentDirectory dir) >> action)
|
||||||
|
|
||||||
uniqTempDirName :: FilePath -> FilePath
|
uniqTempDirName :: FilePath -> FilePath
|
||||||
uniqTempDirName dir =
|
uniqTempDirName dir = ("ghc-mod"++) $ uncurry (++)
|
||||||
uncurry (++)
|
|
||||||
$ map escapeDriveChar *** map escapePathChar
|
$ map escapeDriveChar *** map escapePathChar
|
||||||
$ splitDrive dir
|
$ splitDrive dir
|
||||||
where
|
where
|
||||||
|
Loading…
Reference in New Issue
Block a user