mirror of
https://github.com/apple/container.git
synced 2026-09-08 08:45:43 +00:00
Fix make release goal (#140)
We were using a := assignment for BUILD_BIN_DIR which evaluates any variables immediately. Our make release logic sets the envvar and then invokes `all` but at that point the value of BUILD_BIN_DIR has already been determined.
This commit is contained in:
@@ -19,7 +19,7 @@ BUILD_CONFIGURATION ?= debug
|
||||
# Commonly used locations
|
||||
SWIFT := "/usr/bin/swift"
|
||||
ROOT_DIR := $(shell git rev-parse --show-toplevel)
|
||||
BUILD_BIN_DIR := $(shell $(SWIFT) build -c $(BUILD_CONFIGURATION) --show-bin-path)
|
||||
BUILD_BIN_DIR = $(shell $(SWIFT) build -c $(BUILD_CONFIGURATION) --show-bin-path)
|
||||
|
||||
# Variables for libarchive integration
|
||||
LIBARCHIVE_UPSTREAM_REPO := https://github.com/libarchive/libarchive
|
||||
|
||||
Reference in New Issue
Block a user