diff options
author | Simon McVittie <smcv@collabora.com> | 2022-06-24 13:46:12 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-13 20:36:13 +0100 |
commit | 0c948dc7443a63e3e2f624125846fb00d4e87fa0 (patch) | |
tree | d3168f008747d2c2ae8c56a55ca05328a42fde18 /doc/maintainer-upload-docs.sh | |
parent | 9a64c6c095562a35bd8bc319fdf858b4d6614850 (diff) | |
download | dbus-0c948dc7443a63e3e2f624125846fb00d4e87fa0.tar.gz |
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>
Diffstat (limited to 'doc/maintainer-upload-docs.sh')
-rw-r--r-- | doc/maintainer-upload-docs.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/maintainer-upload-docs.sh b/doc/maintainer-upload-docs.sh index dfffcdc6..307fa6dd 100644 --- a/doc/maintainer-upload-docs.sh +++ b/doc/maintainer-upload-docs.sh @@ -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) |