From da56ee027b8ead55980842c1ceacf4e852381f38 Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Sat, 6 Apr 2019 15:38:29 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Resolve=20lint=20issues=20in=20f?= =?UTF-8?q?ormula=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/brew_formula_update | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script/brew_formula_update b/script/brew_formula_update index dc1cb45..b0479cb 100755 --- a/script/brew_formula_update +++ b/script/brew_formula_update @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/bash # # script/brew_formula_update # mas @@ -56,15 +56,15 @@ brew bump-formula-pr \ # brew exit status status=$? if test $status -ne 0; then - echo "Formula did not validate using brew bump-formula-pr" + echo "Formula did not validate using 'brew bump-formula-pr'" exit $status fi -pushd "$BREW_CORE_PATH" +pushd "$BREW_CORE_PATH" || exit 2 echo "Updating formula" if test $formula_revisions -eq 1; then - # + # Options to dry_run="--dry-run --write" fi @@ -73,5 +73,5 @@ brew bump-formula-pr \ --revision="$REVISION" \ --strict \ --verbose \ - $dry_run \ + "$dry_run" \ mas