Skip to content

Commit e47d0c2

Browse files
committed
chore(Makefile): simplify uname call
1 parent ebb93ef commit e47d0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Toolchain.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ ifeq (, $(shell which $(KO)))
121121
$(info $(M) installing ko)
122122
@{ \
123123
set -e ;\
124-
OSTYPE=$(shell uname | awk '{print $$0}') && ARCH=$(shell go env GOARCH) && \
124+
OSTYPE=$(shell uname) && ARCH=$(shell go env GOARCH) && \
125125
curl -sSLo $(KO).tar.gz https://github.com/ko-build/ko/releases/download/$(KO_VERSION)/ko_$${OSTYPE}_$${ARCH}.tar.gz && \
126126
tar -zxvf $(KO).tar.gz ko && \
127127
chmod +x ko && \

0 commit comments

Comments
 (0)