build_sensu.sh 286 B

12345678910111213141516
  1. #!/usr/bin/bash
  2. # Build Sensu and associated plugins
  3. umask 022
  4. BIN_RM=/usr/bin/rm
  5. BIN_MKDIR=/usr/bin/mkdir
  6. BIN_BUNDLER=/opt/local/bin/bundler
  7. BIN_CP=/usr/bin/cp
  8. cp -Rp app/* ${HOME}/app/.
  9. cd ${HOME}/app
  10. ${BIN_BUNDLER} install --path vendor/bundler
  11. ${BIN_BUNDLER} install --binstubs