[libfilter-eof-perl] 09/10: Fix hashbang in example scripts.
gregor herrmann
gregoa at debian.org
Thu Aug 18 18:44:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libfilter-eof-perl.
commit 7e2c5f757e11ba97c031cb094aef7b66a01176ab
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Aug 18 20:39:15 2016 +0200
Fix hashbang in example scripts.
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..faf43e9 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/synopsis/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfilter-eof-perl.git
More information about the Pkg-perl-cvs-commits
mailing list