Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding loop to install automake and autoconf

  • Loading branch information...
commit 0863090b5f41d66a06e57a1e52729608d783f6e9 1 parent 359a2dd
@seryl seryl authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 scripts/bootstrap
View
8 scripts/bootstrap
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.