mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
38 lines
710 B
Bash
Executable File
38 lines
710 B
Bash
Executable File
#!/bin/bash
|
|
. $GVM_ROOT/scripts/functions
|
|
|
|
# Check for hg
|
|
[ -z `which hg` ] &&
|
|
display_warning "Could not find mercurial
|
|
|
|
linux: apt-get install mercurial
|
|
mac: brew install mercurial
|
|
" && exit 1
|
|
# Check for ar
|
|
[ -z `which ar` ] &&
|
|
display_warning "Could not find binutils
|
|
|
|
linux: apt-get install binutils
|
|
" && exit 1
|
|
# Check for bison
|
|
[ -z `which bison` ] &&
|
|
display_warning "Could not find bison
|
|
|
|
linux: apt-get install bison
|
|
" && exit 1
|
|
# Check for gcc
|
|
[ -z `which gcc` ] &&
|
|
display_warning "Could not find gcc
|
|
|
|
linux: apt-get install gcc
|
|
" && exit 1
|
|
# Check for make
|
|
[ -z `which make` ] &&
|
|
display_warning "Could not find make
|
|
|
|
linux: apt-get install make
|
|
" && exit 1
|
|
|
|
# All good!
|
|
exit 0
|