[libdevice-serialport-perl] 05/08: Fix hashbangs in examples.
gregor herrmann
gregoa at debian.org
Fri Feb 21 18:48:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdevice-serialport-perl.
commit e4e1c11bbf8de15c0847e1d2741fc286d9f61adb
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Feb 21 19:43:29 2014 +0100
Fix hashbangs in examples.
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index d6b6741..859cfb6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,11 @@
#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@ --buildsystem=perl_makemaker
+
+override_dh_installexamples:
+ dh_installexamples
+ sed -i -e '1s|^#! perl|#!/usr/bin/perl|' -e '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/libdevice-serialport-perl.git
More information about the Pkg-perl-cvs-commits
mailing list