[libhtml-template-dumper-perl] 02/09: Fix hashbang in examples.
gregor herrmann
gregoa at debian.org
Thu Jul 10 19:55:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libhtml-template-dumper-perl.
commit 543e93a789773e3cbc5f456c662e3ce1b1a7a7c5
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Jul 10 21:34:25 2014 +0200
Fix hashbang in examples.
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..1749286 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/local/bin/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/libhtml-template-dumper-perl.git
More information about the Pkg-perl-cvs-commits
mailing list