upload: fix permissions even if rsync ran into a problem

This commit is contained in:
Tim-Philipp Müller 2016-12-06 17:12:44 +00:00
parent 2fdd87e282
commit 88fbcc7f09

View file

@ -60,7 +60,7 @@ DOC_BASE = /srv/gstreamer.freedesktop.org/public_html/documentation
BUILT_DOC_DIR = $(builddir)/built_doc/html/
upload: all
rsync -rvaz -e ssh --links --delete $(BUILT_DOC_DIR) $(DOC_SERVER):$(DOC_BASE)
rsync -rvaz -e ssh --links --delete $(BUILT_DOC_DIR) $(DOC_SERVER):$(DOC_BASE) || /bin/true
ssh $(DOC_SERVER) "chmod -R g+w $(DOC_BASE); chgrp -R gstreamer $(DOC_BASE)"
include plugins-introspection/plugins-introspection.mak