mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
build: remove absolute path to perl and replace with /usr/bin/env perl
Signed-off-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
parent
5afe9a054c
commit
5378c85677
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/env perl
|
||||||
# (c) 2001, Dave Jones. (the file handling bit)
|
# (c) 2001, Dave Jones. (the file handling bit)
|
||||||
# (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit)
|
# (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit)
|
||||||
# (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite)
|
# (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite)
|
||||||
@ -7,6 +7,7 @@
|
|||||||
# Licensed under the terms of the GNU GPL License version 2
|
# Licensed under the terms of the GNU GPL License version 2
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
my $P = $0;
|
my $P = $0;
|
||||||
$P =~ s@.*/@@g;
|
$P =~ s@.*/@@g;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/env perl
|
||||||
#
|
#
|
||||||
# Clean a text file -- or directory of text files -- of stealth whitespace.
|
# Clean a text file -- or directory of text files -- of stealth whitespace.
|
||||||
# WARNING: this can be a highly destructive operation. Use with caution.
|
# WARNING: this can be a highly destructive operation. Use with caution.
|
||||||
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
use bytes;
|
use bytes;
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
# Default options
|
# Default options
|
||||||
$max_width = 79;
|
$max_width = 79;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/env perl
|
||||||
#
|
#
|
||||||
# Clean a patch file -- or directory of patch files -- of stealth whitespace.
|
# Clean a patch file -- or directory of patch files -- of stealth whitespace.
|
||||||
# WARNING: this can be a highly destructive operation. Use with caution.
|
# WARNING: this can be a highly destructive operation. Use with caution.
|
||||||
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
use bytes;
|
use bytes;
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
# Default options
|
# Default options
|
||||||
$max_width = 79;
|
$max_width = 79;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
#
|
#
|
||||||
# Linksys ADSL2MUE Flash utility.
|
# Linksys ADSL2MUE Flash utility.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user