Permalink
Browse files

Adding loop to install automake and autoconf

  • Loading branch information...
1 parent 359a2dd commit 0863090b5f41d66a06e57a1e52729608d783f6e9 @seryl seryl committed Apr 4, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 scripts/bootstrap
View
@@ -51,8 +51,12 @@ install_brew()
install_automake()
{
log "Installing automake and autoconf"
- brew install automake > /dev/null 2>&1
- brew install autoconf > /dev/null 2>&1
+ for app in automake autoconf
+ do
+ if [[ -z $(brew list | grep $app) ]]; then
+ brew install $app > /dev/null 2>&1
+ fi
+ done
}
install_git()

0 comments on commit 0863090

Please sign in to comment.