summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cleanpatch')
-rwxr-xr-xscripts/cleanpatch3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cleanpatch b/scripts/cleanpatch
index 9680d03..ab5ebdd 100755
--- a/scripts/cleanpatch
+++ b/scripts/cleanpatch
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# Clean a patch file -- or directory of patch files -- of stealth whitespace.
# WARNING: this can be a highly destructive operation. Use with caution.
@@ -6,6 +6,7 @@
use bytes;
use File::Basename;
+use warnings;
# Default options
$max_width = 79;