[commit: ghc] wip/jenkins: Fix documentation (054a4bf)
git at git.haskell.org
git at git.haskell.org
Tue May 30 14:48:25 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/054a4bf164670bf5488eae30b0cafebbe7499324/ghc
>---------------------------------------------------------------
commit 054a4bf164670bf5488eae30b0cafebbe7499324
Author: Ben Gamari <ben at smart-cactus.org>
Date: Tue May 30 10:45:52 2017 -0400
Fix documentation
>---------------------------------------------------------------
054a4bf164670bf5488eae30b0cafebbe7499324
Jenkinsfile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 29902ed..3fdf815 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -206,12 +206,12 @@ def testGhc(params) {
// Expects to be sitting in a build source tree.
def updateReadTheDocs() {
git clone 'git at github.com:bgamari/ghc-users-guide'
- def commit = sh(script: "git rev-parse HEAD", returnStdout=true)
+ def commit = sh(script: "git rev-parse HEAD", returnStdout: true)
sh """
- export GHC_TREE=$(pwd)
+ export GHC_TREE=\$(pwd)
cd ghc-users-guide
./export.sh
- git commit -a -m "Update to ghc commit ${commit}" || true
+ git commit -a -m \"Update to ghc commit ${commit}\" || true
git push
"""
}
@@ -220,9 +220,9 @@ def updateReadTheDocs() {
// Expects to be sitting in a configured source tree.
def updateUsersGuide() {
sh """
- $(makeCmd) html haddock EXTRA_HADDOCK_OPTS=--hyperlinked-sources
+ ${makeCmd} html haddock EXTRA_HADDOCK_OPTS=--hyperlinked-sources
- out="$(mktemp -d)"
+ out=\"$(mktemp -d)\"
mkdir -p $out/libraries
echo $out
More information about the ghc-commits
mailing list