diff options
author | tv <tv@krebsco.de> | 2016-02-04 11:57:47 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-04 11:58:21 +0100 |
commit | 8682f49ed7ba2687f65e8d11f1b943777896a228 (patch) | |
tree | ca2c93997d2cc3271550c644a861bc2720e603a4 /Makefile | |
parent | 0939b8b37601fbbd509f88f95f7cab30b906a383 (diff) |
Makefile execute: don't try to run failed evaluations :D
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -14,7 +14,10 @@ evaluate = \ --show-trace \ $(1) -execute = $(call evaluate,-A config.krebs.build.$(1) --json) | jq -r . | sh +execute = \ + result=$$($(call evaluate,-A config.krebs.build.$(1) --json)) && \ + script=$$(echo "$$result" | jq -r .) && \ + echo "$$script" | sh # usage: make deploy system=foo [target_host=bar] deploy: |