[commit: ghc] wip/jenkins: Preserve file attributes when copying bindist into place (b03fcce)

git at git.haskell.org git at git.haskell.org
Thu Jul 27 20:51:09 UTC 2017


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

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/b03fcce7cf64ebf4d0a6874cbbab3c0d3a7c5474/ghc

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

commit b03fcce7cf64ebf4d0a6874cbbab3c0d3a7c5474
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Jul 8 15:20:39 2017 -0400

    Preserve file attributes when copying bindist into place


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

b03fcce7cf64ebf4d0a6874cbbab3c0d3a7c5474
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index ab92bfe..ec9e1d9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -284,7 +284,7 @@ def testGhc(params) {
           sh "${makeCmd} install"
       } else {
           sh "mkdir -p \"${instDir}\""
-          sh "cp -R * \"${instDir}\""
+          sh "cp -a * \"${instDir}\""
       }
     }
 



More information about the ghc-commits mailing list