summaryrefslogtreecommitdiffstats
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..3e5a230 100755
--- a/scripts/cleanpatch
+++ b/scripts/cleanpatch
@@ -1,9 +1,10 @@
-#!/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.
#
+use warnings;
use bytes;
use File::Basename;
OpenPOWER on IntegriCloud