r68244 - in /trunk/libdbi-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Wed Feb 9 18:31:11 UTC 2011
Author: gregoa
Date: Wed Feb 9 18:30:59 2011
New Revision: 68244
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68244
Log:
Fix hashbang in example scripts.
Modified:
trunk/libdbi-perl/debian/changelog
trunk/libdbi-perl/debian/rules
Modified: trunk/libdbi-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbi-perl/debian/changelog?rev=68244&op=diff
==============================================================================
--- trunk/libdbi-perl/debian/changelog (original)
+++ trunk/libdbi-perl/debian/changelog Wed Feb 9 18:30:59 2011
@@ -21,6 +21,7 @@
[ gregor herrmann ]
* Refresh patch t__40profile.t__NTP.patch (offset).
* debian/copyright: add information about new third-party files.
+ * Fix hashbang in example scripts.
-- Jonathan Yu <jawnsy at cpan.org> Fri, 31 Dec 2010 20:11:41 -0500
Modified: trunk/libdbi-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbi-perl/debian/rules?rev=68244&op=diff
==============================================================================
--- trunk/libdbi-perl/debian/rules (original)
+++ trunk/libdbi-perl/debian/rules Wed Feb 9 18:30:59 2011
@@ -7,6 +7,9 @@
DBDABI_VERSION = 94
DBDABI_DETECTED_VERSION = $(shell cpp `perl -MExtUtils::Embed -e ccopts` debian/get-dbdabi-version.cpp | sh)
+
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
@@ -33,3 +36,6 @@
override_dh_gencontrol:
dh_gencontrol -- -Vperl-dbdabi-version=$(DBDABI_VERSION)
+override_dh_installexamples:
+ dh_installexamples
+ sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
More information about the Pkg-perl-cvs-commits
mailing list