Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Don't unlink what we install via brew - 1.6.x #6771

Merged
merged 1 commit into from
Feb 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions scripts/eosio_build_darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,12 @@
printf "\\tExiting now.\\n\\n"
exit 1;
fi
if [[ "$DEP" == "llvm@4" ]]; then
"${BREW}" unlink ${DEP}
elif ! "${BREW}" unlink ${DEP} && "${BREW}" link --force ${DEP}
then
printf "\\tHomebrew exited with the above errors.\\n"
printf "\\tExiting now.\\n\\n"
exit 1;
if [ $PERMISSION_GETTEXT -eq 1 ]; then
if ! "${BREW}" link --force gettext; then
printf "\\tHomebrew exited with the above errors.\\n"
printf "\\tExiting now.\\n\\n"
exit 1;
fi
fi
break;;
[Nn]* ) echo "User aborting installation of required dependencies, Exiting now."; exit;;
Expand Down