From f1422dff832201ec6a92ca8336aa2d96b300096b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 12 Jan 2024 14:37:27 +0100 Subject: [PATCH] tools/toolbox: Consistently abort on failure Unlike the other scripts, meson-build currently doesn't set the `-e` option. The script is mainly a wrapper around a single toolbox call, but it means that any errors during option parsing print a warning, but are otherwise ignored. Part-of: --- tools/toolbox/meson-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/toolbox/meson-build.sh b/tools/toolbox/meson-build.sh index 5b4130523..0f5923bb8 100755 --- a/tools/toolbox/meson-build.sh +++ b/tools/toolbox/meson-build.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + DEFAULT_TOOLBOX=gnome-shell-devel CONFIG_FILE=${XDG_CONFIG_HOME:-$HOME/.config}/gnome-shell-toolbox-tools.conf