From 951fedaf41025ff316b90e1979fee0b8d95311e4 Mon Sep 17 00:00:00 2001 From: KongQun Yang Date: Wed, 23 May 2018 16:29:08 -0700 Subject: [PATCH] Make docs/udpate_docs.sh executable Including a misc clean-up in the script. Change-Id: I7bda3ac52e15712356cc286caba08e1fd9db68e1 --- docs/update_docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 docs/update_docs.sh diff --git a/docs/update_docs.sh b/docs/update_docs.sh old mode 100644 new mode 100755 index c4f7638194..9ac3219b1d --- a/docs/update_docs.sh +++ b/docs/update_docs.sh @@ -24,11 +24,11 @@ cd docs make html cd ../out -rm -rf gh-pages # If SITE_DIRECTORY is specified, it is assumed to be local evaluation, so we # will not try to update Git repository. if [[ -z ${SITE_DIRECTORY} ]] ; then + rm -rf gh-pages git clone --depth 1 https://github.com/google/shaka-packager -b gh-pages gh-pages cd gh-pages git rm -rf *