[libpithub-perl] 03/04: Fix hashbang in example scripts.

gregor herrmann gregoa at debian.org
Fri May 23 12:31:19 UTC 2014


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

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

commit e6b9b32a1b2d1f5df34031187d521422ee7d3dda
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri May 23 14:29:22 2014 +0200

    Fix hashbang in example scripts.
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..351d5e0 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|^#!/usr/bin/env perl|#!/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/libpithub-perl.git



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