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

gregoa pushed a commit to branch master
in repository libtk-gbarr-perl.

commit 0725400b60be1aefdf7c8bc31095ee07dd5cda95
Author: gregor herrmann <gre...@debian.org>
Date:   Sat Jun 28 21:17:54 2014 +0200

    Fix example script hashbang in debian/rules instead of patch.
---
 debian/patches/series                 |  1 -
 debian/patches/shebang_examples.patch | 45 -----------------------------------
 debian/rules                          |  2 +-
 3 files changed, 1 insertion(+), 47 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
index 6c215c9..41042ea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 fix_pod_errors.patch
-shebang_examples.patch
diff --git a/debian/patches/shebang_examples.patch 
b/debian/patches/shebang_examples.patch
deleted file mode 100644
index 1c309d6..0000000
--- a/debian/patches/shebang_examples.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- libtk-gbarr-perl.orig/examples/cloth
-+++ libtk-gbarr-perl/examples/cloth
-@@ -1,5 +1,5 @@
- # Object-oriented Canvas.
--#!/usr/local/bin/perl -w
-+#!/usr/bin/perl -w
- use strict;
- use Tk qw(Ev);
- use Tk::Cloth;
---- libtk-gbarr-perl.orig/examples/firebutton
-+++ libtk-gbarr-perl/examples/firebutton
-@@ -1,5 +1,5 @@
- # Button with "repeat" effect.
--#!/usr/local/bin/perl -w
-+#!/usr/bin/perl -w
- use strict;
- use Tk;
- use Tk::FireButton;
---- libtk-gbarr-perl.orig/examples/numentry
-+++ libtk-gbarr-perl/examples/numentry
-@@ -1,5 +1,5 @@
- # Entry for entering numeric values.
--#!/usr/local/bin/perl -w
-+#!/usr/bin/perl -w
- use strict;
- use Tk;
- use Tk::NumEntry;
---- libtk-gbarr-perl.orig/examples/numentryplain
-+++ libtk-gbarr-perl/examples/numentryplain
-@@ -1,5 +1,5 @@
- # Entry for entering numeric values, plain version.
--#!/usr/local/bin/perl -w
-+#!/usr/bin/perl -w
- use strict;
- use Tk;
- use Tk::NumEntryPlain;
---- libtk-gbarr-perl.orig/examples/tframe
-+++ libtk-gbarr-perl/examples/tframe
-@@ -1,5 +1,5 @@
- # A Titled Frame widget.
--#!/usr/local/bin/perl -w
-+#!/usr/bin/perl -w
- use strict;
- use Tk;
- use Tk::TFrame;
diff --git a/debian/rules b/debian/rules
index 1206c82..cf6f5f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,4 +23,4 @@ override_dh_installexamples:
        # make sure all demo programs are not executable
        chmod 0644 $(CURDIR)/examples/*
        dh_installexamples
-
+       sed -i '1s|^#!/usr/local/binperl|#!/usr/bin/perl|' 
$(TMP)/usr/share/doc/$(PACKAGE)/examples/*

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to