From 892a912c6727ab6921f1f799c3cbd8a0abd89e52 Mon Sep 17 00:00:00 2001 From: Craig Buchek Date: Sun, 23 Jun 2019 15:12:22 -0500 Subject: [PATCH] Fix installation of Heroku when using Homebrew --- bin/setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/setup b/bin/setup index 96b9c181..af4731f6 100755 --- a/bin/setup +++ b/bin/setup @@ -61,13 +61,13 @@ install() { for arg in "$@"; do case $arg in apt=*) - apt_package="$arg" + apt_package="${arg#apt=}" ;; rpm=*) - rpm_package="$arg" + rpm_package="${arg#rpm=}" ;; brew=*) - brew_package="$arg" + brew_package="${arg#brew=}" ;; *) default_package="$arg" @@ -152,7 +152,7 @@ install-dependencies() { if ! has-executable heroku; then banner 'Installing Heroku' - install heroku/brew/heroku heroku + install brew=heroku/brew/heroku heroku fi if has-executable rbenv; then