From f3c0c75b90c3574485a612cc29211027f74422e0 Mon Sep 17 00:00:00 2001 From: spoonofpower Date: Thu, 6 Jul 2017 17:24:52 -0700 Subject: [PATCH] Support running the deploy script on linux We need to automate the generation of the documentation site. The first step is getting the existing scripts to run on linux. --- deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 30f6dd5def..84c8748ab0 100755 --- a/deploy.sh +++ b/deploy.sh @@ -9,10 +9,10 @@ if [[ "$1" != "build" ]]; then fi echo Remove unwanted html templates -find site -name "*.html" | xargs grep '{%.*%}' -l | xargs rm +find site -name "*.html" | xargs grep '{%.*%}' -l | xargs rm -f echo Copy extra static pages into site -cp -a extras/ site/ +cp -a extras/* site/ echo Change git branch to asf-site git checkout asf-site @@ -21,7 +21,7 @@ echo Remove old content ls | grep -v site | xargs rm -rf echo Copy contents of site to serving directory -cp -a site/ . +cp -a site/* . echo --- echo --- You are now on the asf-site branch