From 469c1fea931785d37d009961853ea8736fc696ab Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Tue, 18 Jun 2019 23:33:33 -0700 Subject: [PATCH] Fix homebrew sha256 in build. --- integrations/influxunifi/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/influxunifi/Makefile b/integrations/influxunifi/Makefile index c4bd78ad..13801184 100644 --- a/integrations/influxunifi/Makefile +++ b/integrations/influxunifi/Makefile @@ -132,10 +132,10 @@ check_fpm: formula: $(BINARY).rb v$(VERSION).tar.gz.sha256: # Calculate the SHA from the Github source file. - curl -sL $(URL)/archive/v$(VERSION).tar.gz | openssl dgst -sha256 | tee v$(VERSION).tar.gz.sha256 + curl -sL $(URL)/archive/v$(VERSION).tar.gz | openssl dgst -r -sha256 | tee v$(VERSION).tar.gz.sha256 $(BINARY).rb: v$(VERSION).tar.gz.sha256 # Creating formula from template using sed. - sed "s/{{Version}}/$(VERSION)/g;s/{{SHA256}}/$$(