aboutsummaryrefslogtreecommitdiffstats
path: root/compile_commands.json.do
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-08-07 15:08:21 +0100
committerTomasz Kramkowski <tk@the-tk.com>2021-08-07 15:11:49 +0100
commitf382d3caec8c30c3884d5616da04f5a663afa39e (patch)
tree080aad2a2c396f83e87e351e51fdd8cd246090f1 /compile_commands.json.do
parent2e73916323acd066c7319f65ecddd5d4a15bc1f3 (diff)
downloadpack-f382d3caec8c30c3884d5616da04f5a663afa39e.tar.gz
pack-f382d3caec8c30c3884d5616da04f5a663afa39e.tar.xz
pack-f382d3caec8c30c3884d5616da04f5a663afa39e.zip
set -o pipefail when it is necessary
Diffstat (limited to 'compile_commands.json.do')
-rwxr-xr-xcompile_commands.json.do2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile_commands.json.do b/compile_commands.json.do
index f01e0fa..6dd1db8 100755
--- a/compile_commands.json.do
+++ b/compile_commands.json.do
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-set -e
+set -e -o pipefail
cmds=(common.cmd ieee754b.cmd pack.cmd test.cmd test_gen.cmd trace.cmd unpack.cmd)
redo-ifchange "${cmds[@]}"
cat "${cmds[@]}" | jq -s >"$3"