Files
gvm/scripts/gvm-check
T
Ali Abbas 7d722aee3f * Switch $* to $@
* Use double quote everywhere, to avoid potential future globbing or word splitting
* Beautify EDITOR eval
* Fix typo in gvm-installer
* bin double quotes - best practice to avoid potential shell globbing and word splitting
* properly reference variable label
* simplify gvm-installer
2014-04-05 10:13:57 +02:00

38 lines
740 B
Bash
Executable File

#!/usr/bin/env bash
. "$GVM_ROOT/scripts/functions"
# Check for hg
which hg &> /dev/null ||
display_warning "Could not find mercurial
linux: apt-get install mercurial
mac: brew install mercurial
" || exit 1
# Check for ar
which ar &> /dev/null ||
display_warning "Could not find binutils
linux: apt-get install binutils
" || exit 1
# Check for bison
which bison &> /dev/null ||
display_warning "Could not find bison
linux: apt-get install bison
" || exit 1
# Check for gcc
which gcc &> /dev/null ||
display_warning "Could not find gcc
linux: apt-get install gcc
" || exit 1
# Check for make
which make &> /dev/null ||
display_warning "Could not find make
linux: apt-get install make
" || exit 1
# All good!
exit 0