Replace /bin/bash by /usr/bin/env bash

This commit is contained in:
Pavel Odintsov 2015-03-22 14:05:58 +03:00
parent cff0c052a6
commit e6c888b06e
7 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
/usr/bin/redis-cli FLUSHALL

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# $1 client_ip_as_string
# $2 data_direction

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
COMPILER=clang
CPP_COMPILER=clang++

View File

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

View File

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

View File

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