diff --git a/.gitlab-ci/container/build-wayland.sh b/.gitlab-ci/container/build-wayland.sh index 150e39b64a2..de08c308188 100644 --- a/.gitlab-ci/container/build-wayland.sh +++ b/.gitlab-ci/container/build-wayland.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # shellcheck disable=SC2086 # we want word splitting -set -ex +set -uex # When changing this file, you need to bump the following # .gitlab-ci/image-tags.yml tags: @@ -18,7 +18,7 @@ export WAYLAND_PROTOCOLS_VERSION="1.34" git clone https://gitlab.freedesktop.org/wayland/wayland cd wayland git checkout "$LIBWAYLAND_VERSION" -meson setup -Ddocumentation=false -Ddtd_validation=false -Dlibraries=true _build $EXTRA_MESON_ARGS +meson setup -Ddocumentation=false -Ddtd_validation=false -Dlibraries=true _build ${EXTRA_MESON_ARGS:-} meson install -C _build cd .. rm -rf wayland @@ -26,7 +26,7 @@ rm -rf wayland git clone https://gitlab.freedesktop.org/wayland/wayland-protocols cd wayland-protocols git checkout "$WAYLAND_PROTOCOLS_VERSION" -meson setup _build $EXTRA_MESON_ARGS +meson setup _build ${EXTRA_MESON_ARGS:-} meson install -C _build cd .. rm -rf wayland-protocols