diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2015-03-03 14:38:50 +0100 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2015-03-03 14:38:50 +0100 |
commit | 19c7df905705b7ce8d19cdeef9c08766390948ef (patch) | |
tree | 188fdf6fd6d6fb6df87d5d85fe61f0ba812aef14 /ansible/roles | |
parent | ed99fc7db7eba9bb93e2a046467171eb2eb1ec64 (diff) |
ansible: Fix docs build script.
Change-Id: I4473b936e3b66cd5b8888e5d571f4f4bb05c9404
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/install-app/templates/build-docs.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ansible/roles/install-app/templates/build-docs.sh b/ansible/roles/install-app/templates/build-docs.sh index d7e5b13..07eebd6 100644 --- a/ansible/roles/install-app/templates/build-docs.sh +++ b/ansible/roles/install-app/templates/build-docs.sh @@ -6,10 +6,12 @@ SCHEMA_DIR="$DOC_DIR/schema" VENV_DIR="$BASE_PATH/.venv/{{ hostname }}" . "$VENV_DIR/bin/activate" -cd $DOC_DIR && make html +cd $DOC_DIR && make html > /dev/null deactivate cp -ax $BUILD_DIR/* {{ web_root }}/{{ hostname }} cp -ax $SCHEMA_DIR {{ web_root }}/{{ hostname }} -exit 1 +chown -R {{ web_user}}:{{ web_user }} {{ web_root }}/{{ hostname }} + +exit 0 |