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:
parent
41b94ccf11
commit
f1422dff83
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
DEFAULT_TOOLBOX=gnome-shell-devel
|
DEFAULT_TOOLBOX=gnome-shell-devel
|
||||||
CONFIG_FILE=${XDG_CONFIG_HOME:-$HOME/.config}/gnome-shell-toolbox-tools.conf
|
CONFIG_FILE=${XDG_CONFIG_HOME:-$HOME/.config}/gnome-shell-toolbox-tools.conf
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user