[libxml-xpath-perl] 09/11: debian/rules: adjust hashbang in example scripts.
gregor herrmann
gregoa at debian.org
Sun Feb 14 15:33:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libxml-xpath-perl.
commit 30b6225ef566bf4eeca5ef34cad3afee0b109b46
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Feb 14 16:26:20 2016 +0100
debian/rules: adjust hashbang in example scripts.
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index cbe925d..fbbef32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +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/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-xpath-perl.git
More information about the Pkg-perl-cvs-commits
mailing list