maintainer-upload-docs: Allow servers and directories to be overridden

This lets maintainers test the script without putting changes
directly into production!

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2022-06-24 13:46:12 +01:00
parent 9a64c6c095
commit 0c948dc744

View file

@ -22,11 +22,11 @@
set -ex
DOC_SERVER=dbus.freedesktop.org
DOC_WWW_DIR=/srv/dbus.freedesktop.org/www
: "${DOC_SERVER:=dbus.freedesktop.org}"
: "${DOC_WWW_DIR:=/srv/dbus.freedesktop.org/www}"
SPECIFICATION_SERVER=specifications.freedesktop.org
SPECIFICATION_PATH=/srv/specifications.freedesktop.org/www/dbus/1.0
: "${SPECIFICATION_SERVER:=specifications.freedesktop.org}"
: "${SPECIFICATION_PATH:=/srv/specifications.freedesktop.org/www/dbus/1.0}"
TMPDIR=$(mktemp -d)