Draft 1 of cross-platform bash script is complete, but more testing needs to be done

This commit is contained in:
Slater-Victoroff
2013-05-31 10:14:28 -04:00
parent 5883ee8a5a
commit b2cd6915e4
3 changed files with 63 additions and 24 deletions

View File

@@ -72,10 +72,13 @@ EO
output "Installing OSX requirements"
if [[ ! -r $BREW_FILE ]]; then
error "$BREW_FILE does not exist, needed to install brew"
error "$BREW_FILE does not exist, please include the brew formulas file in the requirements/system/mac_os_x directory"
exit 1
fi
# for some reason openssl likes to be installed by itself first
brew install openssl
# brew errors if the package is already installed
for pkg in $(cat $BREW_FILE); do
grep $pkg <(brew list) &>/dev/null || {