From a4cc18622caa6f27cc5487c1921df0c2e579e57d Mon Sep 17 00:00:00 2001 From: Dennis Chen Date: Mon, 27 Nov 2017 06:08:17 +0000 Subject: [PATCH] Makefile: Fix binaries generation issue when 'docker build' failed Currently we will always create a temp tar file even the 'docker run' failed for some reason,e.g, the docker daemon doesn't run. As a result, we'll get the 2nd error even we've fixed 'docker run' failure. Signed-off-by: Dennis Chen --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 742228c4e..54d5026e3 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +.DELETE_ON_ERROR: + .PHONY: default all default: bin/linuxkit bin/rtf all: default