]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - scripts/cleanfile
scripts: Switch to more portable Perl shebang
[mirror_ubuntu-bionic-kernel.git] / scripts / cleanfile
index cefd29e5229880ce1dfb5b6ef64be1393b34380a..72e3755327ae0563d07224ba12b8d24347a08d11 100755 (executable)
@@ -1,9 +1,10 @@
-#!/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.
 #
 
+use warnings;
 use bytes;
 use File::Basename;