maintainer-upload-docs: Fail if an undefined variable is referenced

"Unofficial strict mode" for shell scripting.

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

View file

@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
set -ex
set -eux
: "${DOC_SERVER:=dbus.freedesktop.org}"
: "${DOC_WWW_DIR:=/srv/dbus.freedesktop.org/www}"