[libperl6-form-perl] 06/09: Fix hashbang in new example script.

gregor herrmann gregoa at debian.org
Mon Oct 31 00:36:16 UTC 2016


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

gregoa pushed a commit to branch master
in repository libperl6-form-perl.

commit ce50cde6c818e0f96616dc7aff032accaf1bde27
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Oct 31 01:29:04 2016 +0100

    Fix hashbang in new example script.
---
 debian/libperl6-form-perl.examples |  1 +
 debian/rules                       | 11 +++++------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/libperl6-form-perl.examples b/debian/libperl6-form-perl.examples
new file mode 100644
index 0000000..c173414
--- /dev/null
+++ b/debian/libperl6-form-perl.examples
@@ -0,0 +1 @@
+demo/*
diff --git a/debian/rules b/debian/rules
index 0db98fd..71a96aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,12 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-P=$(shell dh_listpackages)
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
 	dh $@
 
 override_dh_installexamples:
-	dh_installexamples demo/*
-	chmod a-x debian/$(P)/usr/share/doc/$(P)/examples/*
+	dh_installexamples
+	chmod a-x $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
+	sed -i '1s|^#! /opt/local/bin/perl5.10.0|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/demo_after.pl

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libperl6-form-perl.git



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