]> granicus.if.org Git - curl/commitdiff
scripts: allow all perl scripts to be run directly
authorJay Satiro <raysatiro@yahoo.com>
Sun, 7 Jan 2018 06:34:46 +0000 (01:34 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 7 Jan 2018 20:42:11 +0000 (15:42 -0500)
- Enable execute permission (chmod +x)

- Change interpreter to /usr/bin/env perl

Closes https://github.com/curl/curl/pull/2222

15 files changed:
docs/cmdline-opts/gen.pl
docs/examples/adddocsref.pl
docs/libcurl/mksymbolsmanpage.pl [changed mode: 0644->0755]
docs/libcurl/symbols.pl
lib/checksrc.pl
lib/mk-ca-bundle.pl
scripts/log2changes.pl
scripts/updatemanpages.pl
scripts/zsh.pl
tests/libtest/mk-lib1521.pl [changed mode: 0644->0755]
tests/manpage-scan.pl [changed mode: 0644->0755]
tests/mem-include-scan.pl [changed mode: 0644->0755]
tests/nroff-scan.pl [changed mode: 0644->0755]
tests/server/base64.pl [changed mode: 0644->0755]
tests/symbol-scan.pl [changed mode: 0644->0755]

index 73ea6d47b52cf6235e887529250c1f7d2e89184d..6ecf1b51e385b55042ca3522887c1ac8f56a6286 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 =begin comment
 
index efebfe2bc750c91b964c41798eaad4936ae9148d..ce6f58287c9b095571a7467313e2499a9ca08a79 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # pass files as argument(s)
 
old mode 100644 (file)
new mode 100755 (executable)
index 21053c4..8ae202e
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # ***************************************************************************
 # *                                  _   _ ____  _
 # *  Project                     ___| | | |  _ \| |
index cfcecd034920561cefe511247c60bdeab16feafe..d61bd048ff29a3534f54a428b400ee882a755c26 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #***************************************************************************
 #                                  _   _ ____  _
 #  Project                     ___| | | |  _ \| |
index c1f74bebf32e8fc12f298f0b83297ce892cf3def..92af9000c910a1369ed271e270971e8eec451963 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #***************************************************************************
 #                                  _   _ ____  _
 #  Project                     ___| | | |  _ \| |
index dcfec0bb66c5ec0d0b1c72cc90054ab635c3c286..5a84f6b0b10bd54196c9cf28f15ce91a462619e6 100755 (executable)
@@ -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;
index 667daabf0b66ecec2392abe17ac4a57aea06c3be..f3454b01fb0780f243c5c3ff44594cd1e4d4d6f0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # git log --pretty=fuller --no-color --date=short --decorate=full
 
index 6a58dbd42806d8e10882e4e67d64a1061403dc89..e144bad11b889172fab1d356d261740ebbac1c36 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #***************************************************************************
 #                                  _   _ ____  _
 #  Project                     ___| | | |  _ \| |
index 82b4d9fa2d6a44db6111bb58a88dea0b86bc5643..1257190df33dd6d86265f6b10624c7f16b0ea549 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # Generate ZSH completion
 
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 2eab1fa..449c310
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 use MIME::Base64 qw(encode_base64);
 
old mode 100644 (file)
new mode 100755 (executable)