import Util ( global )
import CmdLineOpts ( dynFlag, verbosity )
-import List ( intersperse, isPrefixOf )
+import List ( isPrefixOf )
import Exception ( throw, throwDyn, catchAllIO )
import IO ( hPutStr, hPutChar, hPutStrLn, hFlush, stderr )
import IO ( openFile, IOMode(..), hClose ) -- For temp "system"
removeTmpFiles :: Int -> [FilePath] -> IO ()
removeTmpFiles verb fs
= traceCmd "Deleting temp files"
- ("Deleting: " ++ concat (intersperse " " fs))
+ ("Deleting: " ++ unwords fs)
(mapM_ rm fs)
where
rm f = removeFile f `catchAllIO`
#else
--------------------- Unix version ---------------------
-dosifyPaths xs = xs
-dosifyPaths xs = xs
+dosifyPath p = p
+dosifyPaths ps = ps
unDosifyPath xs = subst '\\' '/' xs
--------------------------------------------------------
#endif
removeFile tmp
return exit_code
#endif
-\end{code}
\ No newline at end of file
+\end{code}