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:
ad6dac2
)
[project @ 2000-07-19 08:46:10 by rrt]
author
rrt
<unknown>
Wed, 19 Jul 2000 08:46:10 +0000
(08:46 +0000)
committer
rrt
<unknown>
Wed, 19 Jul 2000 08:46:10 +0000
(08:46 +0000)
Stop doing all system calls via "sh -c", as this messed up quoting.
ghc/driver/Main.hs
patch
|
blob
|
history
diff --git
a/ghc/driver/Main.hs
b/ghc/driver/Main.hs
index
7120b93
..
7bcb9d0
100644
(file)
--- a/
ghc/driver/Main.hs
+++ b/
ghc/driver/Main.hs
@@
-1690,7
+1690,7
@@
run_something phase_name cmd
unless n $ do
-- and run it!
- exit_code <- system ("sh -c \"" ++ cmd ++ "\"") `catchAllIO`
+ exit_code <- system cmd `catchAllIO`
(\e -> throwDyn (PhaseFailed phase_name (ExitFailure 1)))
if exit_code /= ExitSuccess