fix hugo doc build failed

This commit is contained in:
Shao Yu Lung 2017-05-08 00:00:19 +08:00
parent 08b35e63d6
commit c539c630ed

View File

@ -30,7 +30,9 @@ if [ -n "${HUGO_VERSION}" ]; then
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
# Remove existing docs # Remove existing docs
if [ -d "./docs" ]; then
rm -r ./docs rm -r ./docs
fi
# Build docs # Build docs
cd DOCUMENTATION cd DOCUMENTATION