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

+ 1
- 1
docs/cmdline-opts/gen.pl View File

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


+ 1
- 1
docs/examples/adddocsref.pl View File

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


+ 1
- 1
docs/libcurl/mksymbolsmanpage.pl View File

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


+ 1
- 1
docs/libcurl/symbols.pl View File

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


+ 1
- 1
lib/checksrc.pl View File

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


+ 2
- 1
lib/mk-ca-bundle.pl View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
# ***************************************************************************
# * _ _ ____ _
# * Project ___| | | | _ \| |
@ -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;


+ 1
- 1
scripts/log2changes.pl View File

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


+ 1
- 1
scripts/updatemanpages.pl View File

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


+ 1
- 1
scripts/zsh.pl View File

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


+ 0
- 0
tests/libtest/mk-lib1521.pl View File


+ 0
- 0
tests/manpage-scan.pl View File


+ 0
- 0
tests/mem-include-scan.pl View File


+ 0
- 0
tests/nroff-scan.pl View File


+ 1
- 1
tests/server/base64.pl View File

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


+ 0
- 0
tests/symbol-scan.pl View File


Loading…
Cancel
Save