Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 55d0b61

Browse files
committed
Set custom file as default env variable.
Signed-off-by: David Calavera <david.calavera@gmail.com>
1 parent b7c7cfb commit 55d0b61

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

run-build-functions.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,9 @@ install_dependencies() {
456456
# Homebrew from Brewfile
457457
if [ -f Brewfile.netlify ] || [ ! -z "$HOMEBREW_BUNDLE_FILE" ]
458458
then
459-
echo "Installing Homebrew dependencies from ${HOMEBREW_BUNDLE_FILE:-Brewfile.netlify}"
460-
brew bundle --file Brewfile.netlify
459+
: ${HOMEBREW_BUNDLE_FILE:="Brewfile.netlify"}
460+
echo "Installing Homebrew dependencies from ${HOMEBREW_BUNDLE_FILE}"
461+
brew bundle
461462
fi
462463

463464
# NPM Dependencies

0 commit comments

Comments
 (0)