Browse Source

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
master
Jay Satiro 5 years ago
parent
commit
d4e40f0690
  1. 2
      docs/cmdline-opts/gen.pl
  2. 2
      docs/examples/adddocsref.pl
  3. 2
      docs/libcurl/mksymbolsmanpage.pl
  4. 2
      docs/libcurl/symbols.pl
  5. 2
      lib/checksrc.pl
  6. 3
      lib/mk-ca-bundle.pl
  7. 2
      scripts/log2changes.pl
  8. 2
      scripts/updatemanpages.pl
  9. 2
      scripts/zsh.pl
  10. 0
      tests/libtest/mk-lib1521.pl
  11. 0
      tests/manpage-scan.pl
  12. 0
      tests/mem-include-scan.pl
  13. 0
      tests/nroff-scan.pl
  14. 2
      tests/server/base64.pl
  15. 0
      tests/symbol-scan.pl

2
docs/cmdline-opts/gen.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
=begin comment

2
docs/examples/adddocsref.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# pass files as argument(s)

2
docs/libcurl/mksymbolsmanpage.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# ***************************************************************************
# * _ _ ____ _
# * Project ___| | | | _ \| |

2
docs/libcurl/symbols.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |

2
lib/checksrc.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |

3
lib/mk-ca-bundle.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
# ***************************************************************************
# * _ _ ____ _
# * Project ___| | | | _ \| |
@ -34,6 +34,7 @@ use Encode; @@ -34,6 +34,7 @@ use Encode;
use Getopt::Std;
use MIME::Base64;
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 List::Util;
use Text::Wrap;

2
scripts/log2changes.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# git log --pretty=fuller --no-color --date=short --decorate=full

2
scripts/updatemanpages.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |

2
scripts/zsh.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Generate ZSH completion

0
tests/libtest/mk-lib1521.pl

0
tests/manpage-scan.pl

0
tests/mem-include-scan.pl

0
tests/nroff-scan.pl

2
tests/server/base64.pl

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use MIME::Base64 qw(encode_base64);

0
tests/symbol-scan.pl

Loading…
Cancel
Save