projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b4bc2
)
Change another / to </> to avoid building paths containing \/
author
Ian Lynagh
<igloo@earth.li>
Tue, 18 May 2010 17:20:15 +0000
(17:20 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 18 May 2010 17:20:15 +0000
(17:20 +0000)
This will hopefully fix #2889.
compiler/main/SysTools.lhs
patch
|
blob
|
history
diff --git
a/compiler/main/SysTools.lhs
b/compiler/main/SysTools.lhs
index
ac1941d
..
c479a66
100644
(file)
--- a/
compiler/main/SysTools.lhs
+++ b/
compiler/main/SysTools.lhs
@@
-500,7
+500,7
@@
getTempDir dflags@(DynFlags{tmpDir=tmp_dir})
case lookupFM mapping tmp_dir of
Nothing ->
do x <- getProcessID
- let prefix = tmp_dir ++ "/ghc" ++ show x ++ "_"
+ let prefix = tmp_dir </> "ghc" ++ show x ++ "_"
let
mkTempDir :: Integer -> IO FilePath
mkTempDir x