From 0f703983f26c402e2c5781de0eece89d160f9f35 Mon Sep 17 00:00:00 2001 From: nyagamunene Date: Fri, 20 Dec 2024 15:46:42 +0300 Subject: [PATCH] update make install command Signed-off-by: nyagamunene --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 30d9855..5d0a309 100644 --- a/Makefile +++ b/Makefile @@ -21,10 +21,8 @@ $(SERVICES): $(call compile_service,$(@)) install: - for file in $(BUILD_DIR)/*; do \ - if [ "$$file" = "$${file%%.wasm}" ]; then \ - cp "$$file" "$(GOBIN)/propeller-$$(basename "$$file")"; \ - fi; \ + for file in $(wildcard $(BUILD_DIR)/*[!.wasm]); do \ + cp "$$file" "$(GOBIN)/propeller-$$(basename "$$file")"; \ done .PHONY: all $(SERVICES)