[libfindbin-libs-perl] 05/06: debian/rules: fixup hashbangs in new example scripts.
gregor herrmann
gregoa at debian.org
Sun Jul 27 14:11:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libfindbin-libs-perl.
commit 5485a995fa5fdfd5f9d5e579bc4e717601b53dbd
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Jul 27 16:10:14 2014 +0200
debian/rules: fixup hashbangs in new example scripts.
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..d823936 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|^#!/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/libfindbin-libs-perl.git
More information about the Pkg-perl-cvs-commits
mailing list