[commit: ghc] wip/nfs-locking: Don't need patch file by default. (6a09a6b)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:11:13 UTC 2017


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

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

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

commit 6a09a6b9720f8782224eddd39db9f4ec9cd3164b
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu May 5 03:19:02 2016 +0100

    Don't need patch file by default.


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

6a09a6b9720f8782224eddd39db9f4ec9cd3164b
 src/Rules/Actions.hs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/Rules/Actions.hs b/src/Rules/Actions.hs
index edf98eb..32d2544 100644
--- a/src/Rules/Actions.hs
+++ b/src/Rules/Actions.hs
@@ -146,7 +146,6 @@ runMakeWithVerbosity verbose dir args = do
 applyPatch :: FilePath -> FilePath -> Action ()
 applyPatch dir patch = do
     let file = dir -/- patch
-    need [file]
     needBuilder Patch
     path <- builderPath Patch
     putBuild $ "| Apply patch " ++ file



More information about the ghc-commits mailing list