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

Commit 27e64aa

Browse files
authored
Fix homebrew default bundle file (#489)
* Formatting fixes * Fix env var propagation
1 parent 7e51c71 commit 27e64aa

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
@@ -455,6 +455,7 @@ install_dependencies() {
455455
if [ -f Brewfile.netlify ] || [ ! -z "$HOMEBREW_BUNDLE_FILE" ]
456456
then
457457
: ${HOMEBREW_BUNDLE_FILE:="Brewfile.netlify"}
458+
export HOMEBREW_BUNDLE_FILE
458459
echo "Installing Homebrew dependencies from ${HOMEBREW_BUNDLE_FILE}"
459460
brew bundle
460461
fi
@@ -467,7 +468,7 @@ install_dependencies() {
467468
if [ -f package.json ]
468469
then
469470
restore_cwd_cache node_modules "node modules"
470-
if [ "$NETLIFY_USE_YARN" = "true" ] || ([ "$NETLIFY_USE_YARN" != "false" ] && [ -f yarn.lock ])
471+
if [ "$NETLIFY_USE_YARN" = "true" ] || ([ "$NETLIFY_USE_YARN" != "false" ] && [ -f yarn.lock ])
471472
then
472473
run_yarn $YARN_VERSION
473474
else
@@ -480,7 +481,7 @@ install_dependencies() {
480481
then
481482
if ! [ $(which bower) ]
482483
then
483-
if [ "$NETLIFY_USE_YARN" = "true" ] || ([ "$NETLIFY_USE_YARN" != "false" ] && [ -f yarn.lock ])
484+
if [ "$NETLIFY_USE_YARN" = "true" ] || ([ "$NETLIFY_USE_YARN" != "false" ] && [ -f yarn.lock ])
484485
then
485486
echo "Installing bower with Yarn"
486487
yarn add bower

0 commit comments

Comments
 (0)