Replace /bin/bash by /usr/bin/env bash
This commit is contained in:
parent
cff0c052a6
commit
e6c888b06e
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
/usr/bin/redis-cli FLUSHALL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
g++ fast_library.cpp -c -ofast_library.o
|
||||
g++ netflow_plugin/netflow_collector.cpp -c -onetflow_collector.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# $1 client_ip_as_string
|
||||
# $2 data_direction
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
COMPILER=clang
|
||||
CPP_COMPILER=clang++
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
clang++ fastnetmon_packet_parser.cpp -c -ofastnetmon_packet_parser.o
|
||||
clang++ netmap.cpp -I/usr/local/include -L/usr/local/lib -I/usr/src/fastnetmon/tests/netmap_includes -lboost_thread -lboost_system fastnetmon_packet_parser.o
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
clang++ ../fast_library.cpp -c -ofast_library.o
|
||||
clang++ ../netflow_plugin/netflow_collector.cpp -c -onetflow_collector.o -I/opt/local/include
|
||||
clang ../fastnetmon_packet_parser.cpp -c -ofastnetmon_packet_parser.o
|
||||
clang ../fastnetmon_packet_parser.c -c -ofastnetmon_packet_parser.o
|
||||
clang++ pcap_reader.cpp fastnetmon_packet_parser.o fast_library.o netflow_collector.o -I/opt/local/include -L/opt/local/lib -o pcap_reader -llog4cpp -lboost_system -lboost_regex
|
||||
|
||||
rm -f fastnetmon_packet_parser.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
g++ syn_umbrella.cpp -I/opt/crafter/include -I/opt/pf_ring/include -lpthread -l/opt/pf_ring/lib/libpfring.so -lnuma -l/opt/crafter/lib/libcrafter.so -o synumbrella
|
||||
|
||||
|
|
Loading…
Reference in New Issue