incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject [30/51] incubator git commit: Setup output to working directory.
Date Thu, 06 Jul 2017 00:21:01 GMT
Setup output to working directory.


Project: http://git-wip-us.apache.org/repos/asf/incubator/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator/commit/614634b9
Tree: http://git-wip-us.apache.org/repos/asf/incubator/tree/614634b9
Diff: http://git-wip-us.apache.org/repos/asf/incubator/diff/614634b9

Branch: refs/heads/master
Commit: 614634b930ffb6a904e49d6b07ba862fe4c6295b
Parents: f5cc130
Author: John D. Ament <johndament@apache.org>
Authored: Fri Jun 16 20:03:21 2017 -0400
Committer: John D. Ament <johndament@apache.org>
Committed: Fri Jun 16 20:03:21 2017 -0400

----------------------------------------------------------------------
 build_site.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator/blob/614634b9/build_site.sh
----------------------------------------------------------------------
diff --git a/build_site.sh b/build_site.sh
index b2f1096..7931fb6 100755
--- a/build_site.sh
+++ b/build_site.sh
@@ -1,14 +1,14 @@
 #!/bin/bash
 
-rm -rf /tmp/incubator-site
-$JBAKE_HOME/bin/jbake -b
-mkdir /tmp/incubator-site
-cp -R build/jbake/* /tmp/incubator-site
+WORKDIR=/tmp/incubator-site
+rm -rf $WORKDIR
+mkdir -p $WORKDIR
+$JBAKE_HOME/bin/jbake -b . $WORKDIR
 git checkout asf-site
 git clean -f -d
 git pull origin asf-site
 rm -rf *
-cp -a /tmp/incubator-site/* .
+cp -a $WORKDIR/* .
 git add .
 git commit -m "Automatic Site Publish by Buildbot"
 git push origin asf-site
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message