summaryrefslogtreecommitdiffstats
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
commitc53bbec71db63601c9d7f50b3da2351abad7d914 (patch)
tree364f02f957689ca16dde3116e98a4ba82f94cdf8
parentc3c4aac670cf0ac26340061cef1527b3d7f64386 (diff)
make {deploy,infest}: fail when make eval fails
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3798240e1..a35d6d128 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