diff options
| author | Niels Thykier <nthykier@debian.org> | 2010-04-05 16:01:17 +0000 |
|---|---|---|
| committer | Niels Thykier <nthykier@debian.org> | 2010-04-05 16:01:17 +0000 |
| commit | 6d404e42e644ac195d309535f36127f918b46db1 (patch) | |
| tree | 4442266a950eaa90f1b342553c8bb05a265abf2a /debian/rules | |
| parent | cff9e08d666b96b5d590308c41bc2dbe857bf48d (diff) | |
| download | java-common-6d404e42e644ac195d309535f36127f918b46db1.tar.gz | |
Fix the changelog parsing.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
