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

git at git.haskell.org git at git.haskell.org
Fri Jul 28 16:45:16 UTC 2017


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

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

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

commit 816b385fcf62ac4c3bb90ceff960d6f86c6b04fc
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


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

816b385fcf62ac4c3bb90ceff960d6f86c6b04fc
 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