[libtemplate-stash-autoescaping-perl] 07/07: Add patch to fix Perl interpreter path in examples scripts

Julian Maurice jajm-guest at moszumanska.debian.org
Wed Feb 3 09:43:56 UTC 2016


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

jajm-guest pushed a commit to branch master
in repository libtemplate-stash-autoescaping-perl.

commit ad1827e2aee12cea1d116858525c1f18fb8d6b5e
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Wed Feb 3 08:41:17 2016 +0100

    Add patch to fix Perl interpreter path in examples scripts
---
 .../0001-example-wrong-path-for-interpreter.patch  | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/0001-example-wrong-path-for-interpreter.patch b/debian/patches/0001-example-wrong-path-for-interpreter.patch
new file mode 100644
index 0000000..a30a706
--- /dev/null
+++ b/debian/patches/0001-example-wrong-path-for-interpreter.patch
@@ -0,0 +1,25 @@
+Fix Perl interpreter path in example scripts to satisfy lintian
+--- a/samples/detect_xss.pl
++++ b/samples/detect_xss.pl
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+ 
+ use strict;
+ use lib qw(../lib);
+--- a/samples/html_escape.pl
++++ b/samples/html_escape.pl
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+ 
+ use strict;
+ use Template;
+--- a/samples/your_code.pl
++++ b/samples/your_code.pl
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+ 
+ use strict;
+ use lib qw(../lib);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a261512
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-example-wrong-path-for-interpreter.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtemplate-stash-autoescaping-perl.git



More information about the Pkg-perl-cvs-commits mailing list