[libanyevent-memcached-perl] 03/07: Fix hashbang in example scripts.
gregor herrmann
gregoa at debian.org
Wed Dec 28 20:46:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libanyevent-memcached-perl.
commit d13505a370a79a34e74983df36e25b23406032bd
Author: gregor herrmann <gregoa at debian.org>
Date: Wed Dec 28 21:39:13 2016 +0100
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/libanyevent-memcached-perl.git
More information about the Pkg-perl-cvs-commits
mailing list