mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
febff5038c
commit
f243262200
1 changed files with 6 additions and 6 deletions
12
build.sh
12
build.sh
|
@ -12,12 +12,6 @@ vm_dep() {
|
|||
ping -c 1 $HOST > /dev/null || { echo "@ Virtual machine host $HOST not visible !"; exit 1; }
|
||||
}
|
||||
|
||||
build_linux_amd64() {
|
||||
OUTPUT=$1
|
||||
echo "@ Building $OUTPUT ..."
|
||||
go build -o "$OUTPUT" ..
|
||||
}
|
||||
|
||||
download_pcap() {
|
||||
bin_dep 'wget'
|
||||
bin_dep 'tar'
|
||||
|
@ -48,6 +42,12 @@ xcompile_pcap() {
|
|||
make CFLAGS='-w' -j4 > /dev/null
|
||||
}
|
||||
|
||||
build_linux_amd64() {
|
||||
OUTPUT=$1
|
||||
echo "@ Building $OUTPUT ..."
|
||||
go build -o "$OUTPUT" ..
|
||||
}
|
||||
|
||||
build_linux_arm7() {
|
||||
OUTPUT=$1
|
||||
OLD=$(pwd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue