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

git at git.haskell.org git at git.haskell.org
Sat Jul 8 19:22:45 UTC 2017


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

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

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

commit 62768f17c58d8c8ca142709471790e5eeb5b558d
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


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

62768f17c58d8c8ca142709471790e5eeb5b558d
 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