cmd/vendor-install: fix some elses.

The logic in #16495 wasn't quite right.
This commit is contained in:
Mike McQuaid 2024-01-18 17:35:47 +00:00
parent f515810ccd
commit fd9775d512
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -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