[libwww-shorten-perl] 09/11: Fix hashbang in example script.

gregor herrmann gregoa at debian.org
Fri May 6 17:10:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libwww-shorten-perl.

commit 270b20251648129fa69785f51d584f41e9cf8eb4
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri May 6 19:08:15 2016 +0200

    Fix hashbang in example script.
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8b0ab9d..68519a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
-PKG:=$(shell dh_listpackages)
-TMP:=$(CURDIR)/debian/$(PKG)
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
 	dh $@
@@ -16,3 +16,4 @@ override_dh_auto_test:
 override_dh_installexamples:
 	dh_installexamples bin/shorten
 	$(RM) -rv $(TMP)/usr/bin $(TMP)/usr/share/man/man1
+	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/libwww-shorten-perl.git



More information about the Pkg-perl-cvs-commits mailing list