From: Simon McVittie Date: Fri, 24 Jun 2022 12:46:38 +0000 (+0100) Subject: maintainer-upload-docs: Fail if an undefined variable is referenced X-Git-Tag: dbus-1.15.0~32^2~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4655d00952001a794bd152b2aaf797e5f478de37;p=thirdparty%2Fdbus.git maintainer-upload-docs: Fail if an undefined variable is referenced "Unofficial strict mode" for shell scripting. Signed-off-by: Simon McVittie --- diff --git a/doc/maintainer-upload-docs.sh b/doc/maintainer-upload-docs.sh index 307fa6dd9..da304087b 100644 --- a/doc/maintainer-upload-docs.sh +++ b/doc/maintainer-upload-docs.sh @@ -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}"