Repository: bahir-website
Updated Branches:
  refs/heads/master faf780f9c -> 5375f7c84


[MINOR] Fix failure when doc folder didn't exist


Project: http://git-wip-us.apache.org/repos/asf/bahir-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/bahir-website/commit/e6d0059f
Tree: http://git-wip-us.apache.org/repos/asf/bahir-website/tree/e6d0059f
Diff: http://git-wip-us.apache.org/repos/asf/bahir-website/diff/e6d0059f

Branch: refs/heads/master
Commit: e6d0059fcc802088e3c8ec63d6e34f0d9f5b8845
Parents: faf780f
Author: Luciano Resende <[email protected]>
Authored: Fri Oct 28 01:41:40 2016 +0200
Committer: Luciano Resende <[email protected]>
Committed: Fri Oct 28 01:52:48 2016 +0200

----------------------------------------------------------------------
 update-doc.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bahir-website/blob/e6d0059f/update-doc.sh
----------------------------------------------------------------------
diff --git a/update-doc.sh b/update-doc.sh
index 2373215..5232ea0 100755
--- a/update-doc.sh
+++ b/update-doc.sh
@@ -27,7 +27,6 @@ function checkout_code {
     rm -rf target
     mkdir target
     cd target
-    rm -rf bahir
     git clone https://git-wip-us.apache.org/repos/asf/bahir.git
     cd bahir
     git checkout $GIT_REF
@@ -41,7 +40,7 @@ function checkout_code {
 
 checkout_code
 
-rm  $WEBSITE_DOC_DIR/spark*.md
+rm  -rf $WEBSITE_DOC_DIR/spark*.md
 
 cp  $WEBSITE_DOC_DIR/spark-sql-streaming-mqtt.template 
$WEBSITE_DOC_DIR/spark-sql-streaming-mqtt.md
 cat $BAHIR_SOURCE_DIR/sql-streaming-mqtt/README.md >> 
$WEBSITE_DOC_DIR/spark-sql-streaming-mqtt.md

Reply via email to