Unverified Commit 70f429a4 authored by Matti Picus's avatar Matti Picus Committed by GitHub
Browse files

fix typos in commit_docs.sh script (#1034)

parent 20a41549
......@@ -10,16 +10,16 @@ if [ "$2" == "" ]; then
exit 1
fi
scr=$1
src=$1
target=$2
set -ex
echo "committing docs from ${stc} to ${target}"
echo "committing docs from ${src} to ${target}"
git checkout gh-pages
rm -rf docs/$target/*
cp -r ${src}/build/html/* docs/$target
if [ $target == "master" ]; then
if [ "$target" == "master" ]; then
rm -rf docs/_static/*
cp -r ${src}/build/html/_static/* docs/_static
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment