Skip to content

Commit

Permalink
makefile: use md5 for Darwin instead of md5sum
Browse files Browse the repository at this point in the history
Darwin uses `md5`, this allows running (at least) `make generate` on
Darwin based systems.

Signed-off-by: Martin Polednik <[email protected]>
  • Loading branch information
mpolednik committed Nov 29, 2017
1 parent da9b3ff commit a39b8e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
export GO15VENDOREXPERIMENT := 1

HASH := md5sum
UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
HASH := md5
else
HASH := md5sum
endif

all: build manifests

Expand Down

0 comments on commit a39b8e5

Please sign in to comment.