aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorBastian Köcher <git@kchr.de>2017-03-27 17:21:12 +0200
committerFelix Fietkau <nbd@nbd.name>2017-05-02 14:33:58 +0200
commit5378c856779c590e26910639e28b95a22aa2b9f5 (patch)
tree4826050e4eab006de6996dcd169e02d9de5e219e /scripts/cleanpatch
parent5afe9a054cbcb1630a42200f3ac799432522a87d (diff)
downloadupstream-5378c856779c590e26910639e28b95a22aa2b9f5.tar.gz
upstream-5378c856779c590e26910639e28b95a22aa2b9f5.tar.bz2
upstream-5378c856779c590e26910639e28b95a22aa2b9f5.zip
build: remove absolute path to perl and replace with /usr/bin/env perl
Signed-off-by: Bastian Köcher <git@kchr.de>
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 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;