gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 93/125: scripts: allow all perl scripts to be run d


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 93/125: scripts: allow all perl scripts to be run directly
Date: Sun, 21 Jan 2018 23:42:28 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit d4e40f0690befff7e4668f69850674f29a0c453b
Author: Jay Satiro <address@hidden>
AuthorDate: Sun Jan 7 01:34:46 2018 -0500

    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
---
 docs/cmdline-opts/gen.pl         | 2 +-
 docs/examples/adddocsref.pl      | 2 +-
 docs/libcurl/mksymbolsmanpage.pl | 2 +-
 docs/libcurl/symbols.pl          | 2 +-
 lib/checksrc.pl                  | 2 +-
 lib/mk-ca-bundle.pl              | 3 ++-
 scripts/log2changes.pl           | 2 +-
 scripts/updatemanpages.pl        | 2 +-
 scripts/zsh.pl                   | 2 +-
 tests/libtest/mk-lib1521.pl      | 0
 tests/manpage-scan.pl            | 0
 tests/mem-include-scan.pl        | 0
 tests/nroff-scan.pl              | 0
 tests/server/base64.pl           | 2 +-
 tests/symbol-scan.pl             | 0
 15 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl
index 73ea6d47b..6ecf1b51e 100755
--- a/docs/cmdline-opts/gen.pl
+++ b/docs/cmdline-opts/gen.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 =begin comment
 
diff --git a/docs/examples/adddocsref.pl b/docs/examples/adddocsref.pl
index efebfe2bc..ce6f58287 100755
--- a/docs/examples/adddocsref.pl
+++ b/docs/examples/adddocsref.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # pass files as argument(s)
 
diff --git a/docs/libcurl/mksymbolsmanpage.pl b/docs/libcurl/mksymbolsmanpage.pl
old mode 100644
new mode 100755
index 21053c408..8ae202e46
--- a/docs/libcurl/mksymbolsmanpage.pl
+++ b/docs/libcurl/mksymbolsmanpage.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # ***************************************************************************
 # *                                  _   _ ____  _
 # *  Project                     ___| | | |  _ \| |
diff --git a/docs/libcurl/symbols.pl b/docs/libcurl/symbols.pl
index cfcecd034..d61bd048f 100755
--- a/docs/libcurl/symbols.pl
+++ b/docs/libcurl/symbols.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #***************************************************************************
 #                                  _   _ ____  _
 #  Project                     ___| | | |  _ \| |
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;
diff --git a/scripts/log2changes.pl b/scripts/log2changes.pl
index 667daabf0..f3454b01f 100755
--- a/scripts/log2changes.pl
+++ b/scripts/log2changes.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # git log --pretty=fuller --no-color --date=short --decorate=full
 
diff --git a/scripts/updatemanpages.pl b/scripts/updatemanpages.pl
index 6a58dbd42..e144bad11 100755
--- a/scripts/updatemanpages.pl
+++ b/scripts/updatemanpages.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #***************************************************************************
 #                                  _   _ ____  _
 #  Project                     ___| | | |  _ \| |
diff --git a/scripts/zsh.pl b/scripts/zsh.pl
index 82b4d9fa2..1257190df 100755
--- a/scripts/zsh.pl
+++ b/scripts/zsh.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # Generate ZSH completion
 
diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl
old mode 100644
new mode 100755
diff --git a/tests/manpage-scan.pl b/tests/manpage-scan.pl
old mode 100644
new mode 100755
diff --git a/tests/mem-include-scan.pl b/tests/mem-include-scan.pl
old mode 100644
new mode 100755
diff --git a/tests/nroff-scan.pl b/tests/nroff-scan.pl
old mode 100644
new mode 100755
diff --git a/tests/server/base64.pl b/tests/server/base64.pl
old mode 100644
new mode 100755
index 2eab1fa4d..449c3103a
--- a/tests/server/base64.pl
+++ b/tests/server/base64.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 use MIME::Base64 qw(encode_base64);
 
diff --git a/tests/symbol-scan.pl b/tests/symbol-scan.pl
old mode 100644
new mode 100755

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]