aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-05-15 13:09:05 -0700
committerjade <lix@jade.fyi>2024-05-15 20:18:50 +0000
commit03655c310dccd4f6d61af262ccf886b7e3906fe4 (patch)
treea9a3be88b971501706c0e7c445e9ca67c30bcd44 /doc/manual
parentf6397cc286d97fec725af75ebdfe967b166f23e5 (diff)
build-release-notes: fail if the directory does not exist
This was a combination of two problems: the python didn't throw an error because apparently glob on a nonexistent directory doesn't crash, and secondarily, bash ignores bad exit codes without `set -e` if they are not in the final/only command. Change-Id: I812bde7a4daee5c77ffe9d7c73a25fd14969f548
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/src/release-notes/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/manual/src/release-notes/meson.build b/doc/manual/src/release-notes/meson.build
index a33798bc1..cbcc58e1f 100644
--- a/doc/manual/src/release-notes/meson.build
+++ b/doc/manual/src/release-notes/meson.build
@@ -1,6 +1,8 @@
rl_next_generated = custom_target(
command : [
'bash',
+ '-euo',
+ 'pipefail',
'-c',
'''
if type -p build-release-notes > /dev/null; then