From ad971a545a30f61d7fbc6cb62bde39b7e09c3918 Mon Sep 17 00:00:00 2001 From: Yonas Kolb Date: Wed, 7 Dec 2022 11:20:24 +1100 Subject: [PATCH] split variable --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 82db425c..49dbddbe 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ REPO = https://github.com/yonaskolb/$(TOOL_NAME) RELEASE_TAR = $(REPO)/archive/$(VERSION).tar.gz SHA = $(shell curl -L -s $(RELEASE_TAR) | shasum -a 256 | sed 's/ .*//') SWIFT_BUILD_FLAGS = --disable-sandbox -c release --arch arm64 --arch x86_64 -EXECUTABLE_PATH = $(shell swift build $(SWIFT_BUILD_FLAGS) --show-bin-path)/$(EXECUTABLE_NAME) +BUILD_PATH = $(shell swift build $(SWIFT_BUILD_FLAGS) --show-bin-path) +EXECUTABLE_PATH = $(BUILD_PATH)/$(EXECUTABLE_NAME) .PHONY: install build uninstall format_code brew release