summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-01 03:08:54 +0100
committertv <tv@krebsco.de>2016-02-01 03:32:30 +0100
commit30ab81496dfe147f59fe58d2f15f7198bb731c75 (patch)
tree3d4f7e57b5869c8378d761645588b0f78858b836 /Makefile
parent0d1bab2a0e39775d7686b02b13786f74c2e65e8e (diff)
make {deploy,infest}: fail when make eval fails
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3798240..a35d6d1 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,8 @@ else ifdef system
deploy infest:;@
export get=krebs.$@
export filter=json
- make -s eval | sh
+ script=$$(make -s eval)
+ echo "$$script" | sh
.PHONY: deploy2
ifdef target