[commit: ghc] wip/nfs-locking: Make C:/msys64/ a silent command. (4d2b4bc)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:16:02 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/4d2b4bcce29e1a476dcbe0055319c7586e75d8ec/ghc

>---------------------------------------------------------------

commit 4d2b4bcce29e1a476dcbe0055319c7586e75d8ec
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Dec 26 23:38:28 2014 +0000

    Make C:/msys64/ a silent command.


>---------------------------------------------------------------

4d2b4bcce29e1a476dcbe0055319c7586e75d8ec
 src/Oracles.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Oracles.hs b/src/Oracles.hs
index 08d668e..e03d6a3 100644
--- a/src/Oracles.hs
+++ b/src/Oracles.hs
@@ -104,7 +104,7 @@ option Root = do
     windows <- test WindowsHost
     if (windows)
     then do
-        Stdout out <- cmd ["cygpath", "-m", "/"]   
+        Stdout out <- quietly $ cmd ["cygpath", "-m", "/"]
         return $ dropWhileEnd isSpace out
     else
         return "/"



More information about the ghc-commits mailing list