]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix Perl shebang in TESTrun.
authorDenis Ovsienko <[email protected]>
Sun, 26 Jan 2020 21:30:26 +0000 (21:30 +0000)
committerDenis Ovsienko <[email protected]>
Sun, 26 Jan 2020 21:30:26 +0000 (21:30 +0000)
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.

tests/TESTrun

index 9b462ca6d1c758cbefe7f9bfb2446d9a480492fc..35773fa99ba8960f71f213a9398aaeb6334dc5ad 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 $TCPDUMP = "./tcpdump" if (!($TCPDUMP = $ENV{TCPDUMP_BIN}));