From afd114d8453eef5848ddb90ffec88bc837fbea19 Mon Sep 17 00:00:00 2001 From: Patrick Raphael Date: Thu, 17 Jun 2021 15:41:13 -0400 Subject: [PATCH] fix homebrew sha256 warning --- scripts/generate_bottle.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/generate_bottle.sh b/scripts/generate_bottle.sh index 648256ed599..9ef5f89e7b2 100644 --- a/scripts/generate_bottle.sh +++ b/scripts/generate_bottle.sh @@ -34,7 +34,9 @@ export SSUBPREFIX hash=`openssl dgst -sha256 ${NAME}.tar.gz | awk 'NF>1{print $NF}'` echo "class Eosio < Formula - + # typed: false + # frozen_string_literal: true + homepage \"${URL}\" revision 0 url \"https://github.com/eosio/eos/archive/v${VERSION}.tar.gz\" @@ -46,12 +48,12 @@ echo "class Eosio < Formula depends_on \"gettext\" depends_on \"openssl@1.1\" depends_on \"libusb\" - depends_on :macos => :mojave - depends_on :arch => :intel + depends_on macos: mojave + depends_on arch: :intel bottle do root_url \"https://github.com/eosio/eos/releases/download/v${VERSION}\" - sha256 \"${hash}\" => :${MAC_VERSION} + sha256 ${MAC_VERSION}: \"${hash}\" end def install raise \"Error, only supporting binary packages at this time\"