Skip to content

Commit

Permalink
Merge pull request #1 from open-cluster-management/protect_os_variable
Browse files Browse the repository at this point in the history
We can't rely on OS being what we expect, so set BUILD_HARNESS_OS ourselves
  • Loading branch information
schmidtd authored Feb 13, 2020
2 parents 1e32755 + 4b60836 commit 49fc195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export OS ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
export BUILD_HARNESS_PATH ?= $(shell 'pwd')
export BUILD_HARNESS_EXTENSIONS_PATH ?= $(BUILD_HARNESS_PATH)/../build-harness-extensions
export BUILD_HARNESS_OS ?= $(OS)
export BUILD_HARNESS_OS ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
export BUILD_HARNESS_ARCH ?= $(shell uname -m | sed 's/x86_64/amd64/g')
export SELF ?= $(MAKE)
export PATH := $(BUILD_HARNESS_PATH)/vendor:$(PATH)
Expand Down

0 comments on commit 49fc195

Please sign in to comment.