Skip to content

Commit ff1c170

Browse files
committed
Address shell lints, avoid spurious output
1 parent 5eb48f5 commit ff1c170

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

transform_binary.sh

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,25 @@ fi
1212
CBMC_STRING="CbmcAT"
1313
VERSION_PROCESSED="${VERSION//./}"
1414
FORMULA_VERSION="${CBMC_STRING}${VERSION_PROCESSED}"
15+
TAGS=(
16+
"arm64_sonoma"
17+
"arm64_ventura"
18+
"arm64_monterey"
19+
"arm64_tahoe"
20+
"arm64_sequoia"
21+
"arm64_linux"
22+
"sonoma"
23+
"ventura"
24+
"monterey"
25+
"x86_64_linux"
26+
)
1527

1628
echo " bottle do"
1729
echo " root_url \"https://github.com/diffblue/homebrew-cbmc/releases/download/bag-of-goodies\""
18-
for TAG in \
19-
"arm64_sonoma" "arm64_ventura" "arm64_monterey" "arm64_tahoe" "arm64_sequoia" "arm64_linux" \
20-
"sonoma" "ventura" "monterey" "x86_64_linux"
30+
for TAG in "${TAGS[@]}"
2131
do
2232
#echo "Processing bottle for $VERSION -- $TAG"
23-
brew fetch cbmc --bottle-tag="${TAG}"
33+
brew fetch cbmc --bottle-tag="${TAG}" > /dev/null
2434
BOTTLE_NAME=$(brew --cache cbmc --bottle-tag="${TAG}")
2535

2636
if [[ -z "${BOTTLE_NAME}" ]]

0 commit comments

Comments
 (0)