diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2018-01-07 01:34:46 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2018-01-07 15:42:11 -0500 |
commit | d4e40f0690befff7e4668f69850674f29a0c453b (patch) | |
tree | cff8b69589f91a6da3be4e5576158bd77e3bf935 /lib | |
parent | e4f86025d6ba3f0029a592d9326dc7d1350e5bea (diff) |
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
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/checksrc.pl | 2 | ||||
-rwxr-xr-x | lib/mk-ca-bundle.pl | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/checksrc.pl b/lib/checksrc.pl index c1f74bebf..92af9000c 100755 --- a/lib/checksrc.pl +++ b/lib/checksrc.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl #*************************************************************************** # _ _ ____ _ # Project ___| | | | _ \| | diff --git a/lib/mk-ca-bundle.pl b/lib/mk-ca-bundle.pl index dcfec0bb6..5a84f6b0b 100755 --- a/lib/mk-ca-bundle.pl +++ b/lib/mk-ca-bundle.pl @@ -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; |