Skip to content

Commit

Permalink
build: fix install-cli Makefile target to account for ARM builds (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdeadbeefJERKY authored Oct 17, 2022
1 parent 7cdd53e commit 4fb46f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ test-resources: ## *CI ONLY* Prepares CI test containers
install-cli: build-cli-cross-platform ## Build and install the Lacework CLI binary at /usr/local/bin/lacework
ifeq (x86_64, $(shell uname -m))
mv bin/$(PACKAGENAME)-$(shell uname -s | tr '[:upper:]' '[:lower:]')-amd64 /usr/local/bin/$(CLINAME)
else ifeq (arm64, $(shell uname -m))
mv bin/$(PACKAGENAME)-$(shell uname -s | tr '[:upper:]' '[:lower:]')-arm64 /usr/local/bin/$(CLINAME)
else
mv bin/$(PACKAGENAME)-$(shell uname -s | tr '[:upper:]' '[:lower:]')-386 /usr/local/bin/$(CLINAME)
endif
Expand Down

0 comments on commit 4fb46f2

Please sign in to comment.