]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - scripts/cleanpatch
scripts: Switch to more portable Perl shebang
[mirror_ubuntu-jammy-kernel.git] / scripts / cleanpatch
index 9680d03ad2b8e5dfb23b45079999382abba3fe85..3e5a2303dc0e744508804a3b136e0ba681cc9436 100755 (executable)
@@ -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;