diff options
author | Bastian Köcher <git@kchr.de> | 2017-03-27 17:21:12 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 15:21:02 +0100 |
commit | 040ff6fdbd36d2a202765d241fcb3844851a0678 (patch) | |
tree | b41d4b246b9a93b45ea7b8abd96a9c98c2b659ac /scripts/cleanpatch | |
parent | 98588273b10457bea0a47a0ba8e2a07a6f99af0d (diff) | |
download | upstream-040ff6fdbd36d2a202765d241fcb3844851a0678.tar.gz upstream-040ff6fdbd36d2a202765d241fcb3844851a0678.tar.bz2 upstream-040ff6fdbd36d2a202765d241fcb3844851a0678.zip |
build: remove absolute path to perl and replace with /usr/bin/env perl
Signed-off-by: Bastian Köcher <git@kchr.de>
(cherry picked from commit 5378c856779c590e26910639e28b95a22aa2b9f5)
Diffstat (limited to 'scripts/cleanpatch')
-rwxr-xr-x | scripts/cleanpatch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cleanpatch b/scripts/cleanpatch index 9680d03ad2..ab5ebddded 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; |