[libnet-ssh2-perl] 02/03: Fix interpreter shebang lines in example files to use /usr/bin/perl
Salvatore Bonaccorso
carnil at debian.org
Sun Dec 20 16:02:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to branch master
in repository libnet-ssh2-perl.
commit ae9965e0be1d7575e16a9e651582a05ba9ef83d4
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Sun Dec 20 16:59:08 2015 +0100
Fix interpreter shebang lines in example files to use /usr/bin/perl
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index dbe9783..29fa256 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,14 @@
#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- gcrypt
+
+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/libnet-ssh2-perl.git
More information about the Pkg-perl-cvs-commits
mailing list