mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
Replace bash test
with [[ ]]
.
Partial #638 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
7a260db279
commit
33559bff9a
2 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ brew install --build-bottle mas-cli/tap/mas
|
|||
|
||||
# Generate bottle do block, dropping last 2 lines
|
||||
brew bottle --verbose --no-rebuild --root-url="${ROOT_URL}" mas-cli/tap/mas
|
||||
if ! test -e "${OLD_FILENAME}"; then
|
||||
if [[ ! -e "${OLD_FILENAME}" ]]; then
|
||||
echo "Bottle not found: ${OLD_FILENAME}"
|
||||
echo "If an old version is showing in the log and filename, then make sure the formula has been updated in:"
|
||||
echo "${CORE_TAP_PATH}"
|
||||
|
|
|
@ -15,7 +15,7 @@ RELEASE=".build/${ARCH}-apple-macosx/release"
|
|||
MAS_VERSION="$(script/version)"
|
||||
PREFIX=/usr/local
|
||||
|
||||
while test -n "${1}"; do
|
||||
while [[ -n "${1}" ]]; do
|
||||
if [[ "${1}" == '--universal' ]]; then
|
||||
ARCH=universal
|
||||
RELEASE=.build/release
|
||||
|
|
Loading…
Reference in a new issue