[java-policy] 103/198: Fix the changelog parsing.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 23 07:49:35 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository java-policy.

commit 6d404e42e644ac195d309535f36127f918b46db1
Author: Niels Thykier <nthykier at debian.org>
Date:   Mon Apr 5 16:01:17 2010 +0000

    Fix the changelog parsing.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 83941d9..0a251d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/java-policy.git



More information about the pkg-java-commits mailing list