Sha256: 8f33f58e4e49551fac3c60e6c0b002dbb4aa3fbf5046f456dfff2918158e5f0b

Contents?: true

Size: 1.87 KB

Versions: 48

Compression:

Stored size: 1.87 KB

Contents

#! /bin/bash
#
# Copyright (c) 2022, [Ribose Inc](https://www.ribose.com).
# All rights reserved.
# This file is a part of tebako
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

set -o errexit -o pipefail -o noclobber -o nounset

# for zsh
# https://stackoverflow.com/questions/6715388/variable-expansion-is-different-in-zsh-from-that-in-bash
# setopt sh_word_split

DIR0="$( cd "$1" && pwd )"
DIR1="$DIR0/x86-homebrew"

for bottle in "${@:2}"
do
    echo "Installing $bottle"
    response=$("$DIR1/bin/brew" fetch --force --bottle-tag=x86_64_big_sur "$bottle" | grep "Downloaded to")
    IFS=" " read -r -a parsed <<< "$response"
    "$DIR1/bin/brew" install "${parsed[2]}"
done

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
tebako-0.12.4 tools/ci-scripts/x86-brew-install.sh
tebako-0.12.3 tools/ci-scripts/x86-brew-install.sh
tebako-0.12.2 tools/ci-scripts/x86-brew-install.sh
tebako-0.12.2.rc1 tools/ci-scripts/x86-brew-install.sh
tebako-0.12.1 tools/ci-scripts/x86-brew-install.sh
tebako-0.12.0 tools/ci-scripts/x86-brew-install.sh
tebako-0.11.0 tools/ci-scripts/x86-brew-install.sh
tebako-0.10.0 tools/ci-scripts/x86-brew-install.sh
tebako-0.9.3 tools/ci-scripts/x86-brew-install.sh
tebako-0.9.2 tools/ci-scripts/x86-brew-install.sh
tebako-0.9.1 tools/ci-scripts/x86-brew-install.sh
tebako-0.9.0 tools/ci-scripts/x86-brew-install.sh
tebako-0.8.8 tools/ci-scripts/x86-brew-install.sh
tebako-0.8.7 tools/ci-scripts/x86-brew-install.sh
tebako-0.8.6 tools/ci-scripts/x86-brew-install.sh
tebako-0.8.5 tools/ci-scripts/x86-brew-install.sh
tebako-0.8.4 tools/ci-scripts/x86-brew-install.sh
tebako-0.8.3 tools/ci-scripts/x86-brew-install.sh
tebako-0.8.2 tools/ci-scripts/x86-brew-install.sh
tebako-0.8.1 tools/ci-scripts/x86-brew-install.sh