[libbot-basicbot-perl] 17/18: Add executable-not-elf-or-script.patch

Nick Morrott nickm-guest at moszumanska.debian.org
Sat Aug 26 01:42:34 UTC 2017


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

nickm-guest pushed a commit to branch master
in repository libbot-basicbot-perl.

commit 61ad89ac4bb78fa5dd6a0d27768d4ba209785215
Author: Nick Morrott <knowledgejunkie at gmail.com>
Date:   Fri Aug 25 22:57:44 2017 +0100

    Add executable-not-elf-or-script.patch
---
 debian/patches/executable-not-elf-or-script.patch | 36 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/executable-not-elf-or-script.patch b/debian/patches/executable-not-elf-or-script.patch
new file mode 100644
index 0000000..382e9e1
--- /dev/null
+++ b/debian/patches/executable-not-elf-or-script.patch
@@ -0,0 +1,36 @@
+Description: Move Perl shebangs to top of scripts
+Author: Nick Morrott <knowledgejunkie at gmail.com>
+Bug: https://github.com/bigpresh/bot-basicbot/pull/11
+Last-Update: 2017-08-25
+---
+--- a/examples/countdownbot.pl
++++ b/examples/countdownbot.pl
+@@ -1,3 +1,5 @@
++#!/usr/bin/perl
++
+ =head1 NAME
+ 
+ countdownbot - a bot that will announce the time till an event
+@@ -9,7 +11,6 @@
+ 
+ =cut
+ 
+-#!/usr/bin/perl
+ use warnings;
+ use strict;
+ 
+--- a/examples/namer.pl
++++ b/examples/namer.pl
+@@ -1,10 +1,11 @@
++#!/usr/bin/perl
++
+ =head1 NAME
+ 
+ namer - read out url titles in the channel
+ 
+ =cut
+ 
+-#!/usr/bin/perl
+ package Bot;
+ use base qw(Bot::BasicBot);
+ use warnings;
diff --git a/debian/patches/series b/debian/patches/series
index f7c4b35..366ed18 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 spelling-error-in-manpage.patch
+executable-not-elf-or-script.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbot-basicbot-perl.git



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