aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-05-06 22:44:57 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-05-06 22:44:57 -0400
commita63a7383a3aa25f1562464c94c356b7aacbbb0a6 (patch)
tree2363148224f949ba8e568946119d4413a93539e5 /Makefile
parent874ad187e069f53b01411ce577b39dcec3797a45 (diff)
Tweak how pipefail works
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3a92558c..49df2d5e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+SHELL=/bin/bash -o pipefail
# Run ./configure.sh to choose installation locations:
ifeq ($(wildcard config.mk),)
all: config.mk
@@ -143,8 +144,7 @@ config.mk: configure.sh
test/results/%.tm.testresult: test/%.tm build/bin/tomo
@mkdir -p test/results
@printf '\033[33;1;4m%s\033[m\n' $<
- @set -o pipefail; \
- if ! COLOR=1 LC_ALL=C ./local-tomo -O 1 $< 2>&1 | tee $@; then \
+ @if ! COLOR=1 LC_ALL=C ./local-tomo -O 1 $< 2>&1 | tee $@; then \
rm -f $@; \
false; \
fi