From: Denis Ovsienko Date: Sun, 26 Jan 2020 21:30:26 +0000 (+0000) Subject: Fix Perl shebang in TESTrun. X-Git-Tag: tcpdump-4.99-bp~579 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/420e818e568e6c43f8bb61319828be5e0d43168b 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. --- 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}));