From 040ff6fdbd36d2a202765d241fcb3844851a0678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Mon, 27 Mar 2017 17:21:12 +0200 Subject: build: remove absolute path to perl and replace with /usr/bin/env perl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bastian Köcher (cherry picked from commit 5378c856779c590e26910639e28b95a22aa2b9f5) --- scripts/cleanfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/cleanfile') diff --git a/scripts/cleanfile b/scripts/cleanfile index cefd29e..64507c4 100755 --- a/scripts/cleanfile +++ b/scripts/cleanfile @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # # Clean a text file -- or directory of text 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; -- cgit v1.1