From 5e566d53c12e8ef9ac29a07b969a036c339a0ecf Mon Sep 17 00:00:00 2001 From: Jovan Djukic Date: Fri, 24 Apr 2026 14:47:29 +0200 Subject: [PATCH] Bug --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 120e9e5e..466a80f8 100644 --- a/Makefile +++ b/Makefile @@ -45,8 +45,9 @@ define compile_service -X 'github.com/absmach/supermq.Version=$(VERSION)' \ -X 'github.com/absmach/supermq.Commit=$(COMMIT)'" \ $(if $(filter 1,$(EMBED_ENABLED)),-tags "embed",) \ - -o $(BUILD_STAGE_DIR)/cocos-$(1) ./cmd/$(1) - install -m 755 $(BUILD_STAGE_DIR)/cocos-$(1) ${BUILD_DIR}/cocos-$(1) + -o $(BUILD_STAGE_DIR)/ ./cmd/$(1) + test -f $(BUILD_STAGE_DIR)/$(1) + install -m 755 $(BUILD_STAGE_DIR)/$(1) ${BUILD_DIR}/cocos-$(1) endef NVIDIA_ATTESTATION_HELPER_CARGO_ENV = $(if $(filter 1,$(NVAT_USE_SYSTEM_LIB)),NVAT_USE_SYSTEM_LIB=1,)