summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-01-26 21:30:26 +0000
committerDenis Ovsienko <denis@ovsienko.info>2020-01-26 21:30:26 +0000
commit420e818e568e6c43f8bb61319828be5e0d43168b (patch)
tree59068aee9c3f9877497196e1b651206d4a013d64
parent5ea1e10ab7b29739215c9b52c37e10f4fd7d9151 (diff)
downloadtcpdump-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-xtests/TESTrun2
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}));