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:
4899cc8
)
fix for Vista workaround: "PATH" can be spelt "Path"
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 14 May 2007 10:45:09 +0000
(10:45 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 14 May 2007 10:45:09 +0000
(10:45 +0000)
compiler/main/SysTools.lhs
patch
|
blob
|
history
diff --git
a/compiler/main/SysTools.lhs
b/compiler/main/SysTools.lhs
index
17ed501
..
5805e3c
100644
(file)
--- a/
compiler/main/SysTools.lhs
+++ b/
compiler/main/SysTools.lhs
@@
-485,7
+485,8
@@
getGccEnv opts =
get_b_opt (Option ('-':'B':dir)) = Left dir
get_b_opt other = Right other
- mangle_path ("PATH",paths) = ("PATH", '\"' : head b_dirs ++ "\";" ++ paths)
+ mangle_path (path,paths) | map toUpper path == "PATH"
+ = (path, '\"' : head b_dirs ++ "\";" ++ paths)
mangle_path other = other
#endif