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 e4f86025d6
commit d4e40f0690

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

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

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

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

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

@ -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,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# git log --pretty=fuller --no-color --date=short --decorate=full

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

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

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

Loading…
Cancel
Save