From e7479225f204c4b6c10addb850d678c95bdffcd8 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sat, 12 Sep 2020 00:53:02 +0100 Subject: build: Fix default.o.do exit status --- default.o.do | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.o.do b/default.o.do index 5c3e0e9..adab49b 100644 --- a/default.o.do +++ b/default.o.do @@ -1,5 +1,5 @@ #!/bin/bash redo-ifchange "$0" "default.o.do" "$2.c" . loadargs "compile" -gcc -std=c11 -MD -MF "$2.d" -c "${args[@]}" -o "$3" "$2.c" +gcc -std=c11 -MD -MF "$2.d" -c "${args[@]}" -o "$3" "$2.c" || exit 1 redo-ifchange "$2.d" $(sed ':a;/\\$/{s/[^:]*: //;N;s/ \\\n//;ba}' <"$2.d") -- cgit v1.2.3-54-g00ecf