From fd9775d512ef3e88d48278d6c2cb6e5a33705e72 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 18 Jan 2024 17:35:47 +0000 Subject: [PATCH] cmd/vendor-install: fix some elses. The logic in #16495 wasn't quite right. --- Library/Homebrew/cmd/vendor-install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh index db2aada9df..c3cb079f26 100644 --- a/Library/Homebrew/cmd/vendor-install.sh +++ b/Library/Homebrew/cmd/vendor-install.sh @@ -294,10 +294,12 @@ homebrew-vendor-install() { VENDOR_PHYSICAL_PROCESSOR="${option}" VENDOR_PROCESSOR="${option}" fi + else + odie "This command does not take multiple vendor targets!" fi - odie "This command does not take multiple vendor targets!" + else + VENDOR_NAME="${option}" fi - VENDOR_NAME="${option}" ;; esac done