[commit: ghc] wip/nfs-locking: Fix #87. (563307b)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:22:46 UTC 2017


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

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

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

commit 563307bd23206aafe88c74088411ff55fa7bfb5a
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Mon Jan 4 01:45:12 2016 +0000

    Fix #87.


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

563307bd23206aafe88c74088411ff55fa7bfb5a
 src/Rules/Copy.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Rules/Copy.hs b/src/Rules/Copy.hs
index 3a385b8..3f33d9c 100644
--- a/src/Rules/Copy.hs
+++ b/src/Rules/Copy.hs
@@ -27,4 +27,4 @@ copyRules = do
     "inplace/lib/platformConstants" <~ derivedConstantsPath
     "inplace/lib/settings"          <~ "."
   where
-    file <~ dir = file %> \_ -> copyFile (dir -/- file) file
+    file <~ dir = file %> \_ -> copyFile (dir -/- takeFileName file) file



More information about the ghc-commits mailing list