misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-02-22 18:06:57 +01:00
commit f243262200

View file

@ -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)