mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
scripts: allow all perl scripts to be run directly
- Enable execute permission (chmod +x) - Change interpreter to /usr/bin/env perl Closes https://github.com/curl/curl/pull/2222
This commit is contained in:
parent
e4f86025d6
commit
d4e40f0690
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
=begin comment
|
=begin comment
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# pass files as argument(s)
|
# pass files as argument(s)
|
||||||
|
|
||||||
|
2
docs/libcurl/mksymbolsmanpage.pl
Normal file → Executable file
2
docs/libcurl/mksymbolsmanpage.pl
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
# ***************************************************************************
|
# ***************************************************************************
|
||||||
# * _ _ ____ _
|
# * _ _ ____ _
|
||||||
# * Project ___| | | | _ \| |
|
# * Project ___| | | | _ \| |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
# _ _ ____ _
|
# _ _ ____ _
|
||||||
# Project ___| | | | _ \| |
|
# Project ___| | | | _ \| |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
# _ _ ____ _
|
# _ _ ____ _
|
||||||
# Project ___| | | | _ \| |
|
# Project ___| | | | _ \| |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/env perl
|
||||||
# ***************************************************************************
|
# ***************************************************************************
|
||||||
# * _ _ ____ _
|
# * _ _ ____ _
|
||||||
# * Project ___| | | | _ \| |
|
# * Project ___| | | | _ \| |
|
||||||
@ -34,6 +34,7 @@ use Encode;
|
|||||||
use Getopt::Std;
|
use Getopt::Std;
|
||||||
use MIME::Base64;
|
use MIME::Base64;
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use vars qw($opt_b $opt_d $opt_f $opt_h $opt_i $opt_k $opt_l $opt_m $opt_n $opt_p $opt_q $opt_s $opt_t $opt_u $opt_v $opt_w);
|
use vars qw($opt_b $opt_d $opt_f $opt_h $opt_i $opt_k $opt_l $opt_m $opt_n $opt_p $opt_q $opt_s $opt_t $opt_u $opt_v $opt_w);
|
||||||
use List::Util;
|
use List::Util;
|
||||||
use Text::Wrap;
|
use Text::Wrap;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# git log --pretty=fuller --no-color --date=short --decorate=full
|
# git log --pretty=fuller --no-color --date=short --decorate=full
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
# _ _ ____ _
|
# _ _ ____ _
|
||||||
# Project ___| | | | _ \| |
|
# Project ___| | | | _ \| |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# Generate ZSH completion
|
# Generate ZSH completion
|
||||||
|
|
||||||
|
0
tests/libtest/mk-lib1521.pl
Normal file → Executable file
0
tests/libtest/mk-lib1521.pl
Normal file → Executable file
0
tests/manpage-scan.pl
Normal file → Executable file
0
tests/manpage-scan.pl
Normal file → Executable file
0
tests/mem-include-scan.pl
Normal file → Executable file
0
tests/mem-include-scan.pl
Normal file → Executable file
0
tests/nroff-scan.pl
Normal file → Executable file
0
tests/nroff-scan.pl
Normal file → Executable file
2
tests/server/base64.pl
Normal file → Executable file
2
tests/server/base64.pl
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
use MIME::Base64 qw(encode_base64);
|
use MIME::Base64 qw(encode_base64);
|
||||||
|
|
||||||
|
0
tests/symbol-scan.pl
Normal file → Executable file
0
tests/symbol-scan.pl
Normal file → Executable file
Loading…
Reference in New Issue
Block a user