[libffi-platypus-perl] 01/04: fix hashbang in example scripts

gregor herrmann gregoa at debian.org
Mon Jun 27 13:15:59 UTC 2016


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

gregoa pushed a commit to branch master
in repository libffi-platypus-perl.

commit 22943be1cc27337daf4706e1165f9030b7410af9
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jun 27 15:03:57 2016 +0200

    fix hashbang in example scripts
    
    Gbp-Dch: Ignore
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..096653a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,11 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*.pl

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



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