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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3113>
This commit is contained in:
Florian Müllner 2024-01-12 14:37:27 +01:00 committed by Marge Bot
parent 41b94ccf11
commit f1422dff83

View File

@ -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