From d2395a37a90eefa3b03510923bb22c80107eb005 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 1 May 2020 14:21:28 +0200 Subject: [PATCH] Makefile: chown engine dir during cleanup Signed-off-by: Sebastiaan van Stijn --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 3a8142bdf5..c0b16237c9 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ help: ## show make targets .PHONY: clean-engine clean-engine: + [ ! -d $(ENGINE_DIR) ] || docker run --rm -v $(ENGINE_DIR):/v -w /v alpine chown -R $(shell id -u):$(shell id -g) /v rm -rf $(ENGINE_DIR) .PHONY: clean