[SCM] Debian packaging of Test-BDD-Cucumber CPAN distribution branch, master, updated. debian/0.14-1-79-gfedaa79

gregor herrmann gregoa at debian.org
Fri Jul 26 18:33:33 UTC 2013


The following commit has been merged in the master branch:
commit 5f4264c464aba0a51facac06ac166741a99813a9
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jul 26 20:31:35 2013 +0200

    Fix hashbang in example scripts.

diff --git a/debian/rules b/debian/rules
index 2d33f6a..3c8c009 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,13 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_installexamples:
+	dh_installexamples
+	find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \
+		xargs -r0 sed -i -e '1s|^#!perl|#!/usr/bin/perl|'
+			

-- 
Debian packaging of Test-BDD-Cucumber CPAN distribution



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