[commit: ghc] wip/nfs-locking: Unify paths of sources and files in a target. (00de798)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:20:47 UTC 2017


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

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

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

commit 00de798905ba76aaa6f034b0b7110fe1c4be3acb
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Mon Sep 21 00:59:34 2015 +0100

    Unify paths of sources and files in a target.


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

00de798905ba76aaa6f034b0b7110fe1c4be3acb
 src/Target.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Target.hs b/src/Target.hs
index 2901ffe..8e2a44e 100644
--- a/src/Target.hs
+++ b/src/Target.hs
@@ -60,8 +60,8 @@ fullTarget (PartialTarget s p) b srcs fs = Target
         package = p,
         builder = b,
         way     = vanilla,
-        sources = srcs,
-        files   = fs
+        sources = map unifyPath srcs,
+        files   = map unifyPath fs
     }
 
 -- Use this function to be explicit about the build way.



More information about the ghc-commits mailing list