[Pkg-ocaml-maint-commits] [SCM] dose3 packaging branch, master, updated. upstream/0.7-54-g2158967

Ralf Treinen treinen at debian.org
Wed Nov 10 14:36:09 UTC 2010


The following commit has been merged in the master branch:
commit 2158967a121b69a86eedacafe2562c2f9f8c983a
Author: Ralf Treinen <treinen at debian.org>
Date:   Wed Nov 10 15:33:36 2010 +0100

    avoid regexp special char as separator

diff --git a/debian/rules b/debian/rules
index a532b2a..e0bfa93 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ SHELL=/bin/bash
 SRCV := $(shell dpkg-parsechangelog | sed -n '/^Version:/{s|Version: *||p;q}')
 
 # binary packages that have their version with epoch 1
-EPOCHED  = "|edos-distcheck|edos-builddebcheck|ceve|"
+EPOCHED  = ":edos-distcheck:edos-builddebcheck:ceve:"
 
 %:
 	dh $@ --with ocaml
@@ -14,7 +14,7 @@ override_dh_auto_configure:
 
 override_dh_gencontrol:
 	 for pkg in `dh_listpackages`; do\
-		if [[ $(EPOCHED) =~ .*|$$pkg|.* ]];\
+		if [[ $(EPOCHED) =~ .*:$$pkg:.* ]];\
 		then dh_gencontrol -p$$pkg -- -v1:$(SRCV);\
 		else dh_gencontrol -p$$pkg;\
 		fi;\

-- 
dose3 packaging



More information about the Pkg-ocaml-maint-commits mailing list