[SCM] Debian packaging of libbit-vector-perl branch, master, updated. debian/7.2-1-10-g3235f42

gregor herrmann gregoa at debian.org
Sun May 12 15:48:40 UTC 2013


The following commit has been merged in the master branch:
commit ab326debfa5c20598a8d8d64fb66cc403a4517a7
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun May 12 17:44:04 2013 +0200

    d/rules: rewrite hashbang fix a bit
    
    (aesthetics and conformity)
    
    Git-Dch: Ignore

diff --git a/debian/rules b/debian/rules
index 964844d..613083c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,12 @@
 #!/usr/bin/make -f
 
-PKG=$(shell dh_listpackages)
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
 	dh $@
 
 override_dh_installexamples:
 	dh_installexamples
-	find $(CURDIR)/debian/$(PKG)/usr/share/doc/$(PKG)/examples -type f -print0 | \
-		xargs -r0 \
-		sed -i -e 's,/usr/local/bin/perl,/usr/bin/perl,' -e 's,!perl,!/usr/bin/perl,'
+	sed -i -e 's,/usr/local/bin/perl,/usr/bin/perl,' -e 's,!perl,!/usr/bin/perl,' \
+		$(TMP)/usr/share/doc/$(PACKAGE)/examples/*

-- 
Debian packaging of libbit-vector-perl



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