diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2020-01-26 21:30:26 +0000 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2020-01-26 21:30:26 +0000 |
commit | 420e818e568e6c43f8bb61319828be5e0d43168b (patch) | |
tree | 59068aee9c3f9877497196e1b651206d4a013d64 | |
parent | 5ea1e10ab7b29739215c9b52c37e10f4fd7d9151 (diff) | |
download | tcpdump-420e818e568e6c43f8bb61319828be5e0d43168b.tar.gz |
Fix Perl shebang in TESTrun.
Some script interpreters do not have the same pathname in all operating
systems where they work (e.g. Perl is /usr/local/bin/perl on FreeBSD).
Apply the classic solution to this classic problem.
-rwxr-xr-x | tests/TESTrun | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TESTrun b/tests/TESTrun index 9b462ca6..35773fa9 100755 --- a/tests/TESTrun +++ b/tests/TESTrun @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl $TCPDUMP = "./tcpdump" if (!($TCPDUMP = $ENV{TCPDUMP_BIN})); |