aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xTools/scripts/splitpatch.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/splitpatch.pl b/Tools/scripts/splitpatch.pl
index ddac4b33394c..28c9b13d5a48 100755
--- a/Tools/scripts/splitpatch.pl
+++ b/Tools/scripts/splitpatch.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! /usr/bin/env perl
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42)
# <tobez@FreeBSD.org> wrote this file. As long as you retain this notice you
@@ -8,6 +8,7 @@
#
# $FreeBSD$
use strict;
+use warnings;
# good tests:
# /usr/ports/archivers/zoo/files/patch-aa (context diff)