You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@incubator.apache.org by po...@apache.org on 2017/07/06 00:21:01 UTC

[30/51] incubator git commit: Setup output to working directory.

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 <jo...@apache.org>
Authored: Fri Jun 16 20:03:21 2017 -0400
Committer: John D. Ament <jo...@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