Browse code

Merge "only clone docs from gh-pages branch if they aren't there"

Jenkins authored on 2013/11/22 21:31:59
Showing 1 changed files
... ...
@@ -91,8 +91,9 @@ fi
91 91
 # Assumption is we are now in the DevStack repo workspace to be processed
92 92
 
93 93
 # Pull the latest docs branch from devstack.org repo
94
-rm -rf docs || true
95
-git clone -b gh-pages $GH_PAGES_REPO docs
94
+if ! [ -d docs ]; then
95
+    git clone -b gh-pages $GH_PAGES_REPO docs
96
+fi
96 97
 
97 98
 # Build list of scripts to process
98 99
 FILES=""