Author: nthykier-guest
Date: 2010-04-05 16:01:17 +0000 (Mon, 05 Apr 2010)
New Revision: 11999

Modified:
   trunk/java-common/debian/rules
Log:
Fix the changelog parsing.

Modified: trunk/java-common/debian/rules
===================================================================
--- trunk/java-common/debian/rules      2010-04-05 15:56:50 UTC (rev 11998)
+++ trunk/java-common/debian/rules      2010-04-05 16:01:17 UTC (rev 11999)
@@ -10,7 +10,7 @@
 S = $(EMPTY) $(EMPTY)
 mk_cslist = $(subst $(S),$(,)$(S),$(foreach v,$(1),$(v)-$(2)))
 vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
-jrel = $(shell dpkg-parsechangelog | grep Version | sed "s/Version: 0.//")
+jrel = $(shell dpkg-parsechangelog | grep -E ^Version: | sed "s/Version: 0.//")
 
 DPKG_VARS := $(shell dpkg-architecture)
 DEB_HOST_ARCH ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH)


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to